Interstage Shunsaku Data Manager Application Development Guide - Microsoft(R) Windows(R) 2000/ Microsoft(R) Windows Server(TM) 2003 - - UNIX -
|
Contents
Index

|
10.3.1.2 Specifying Host Name and Port Number by Properties
This section explains how to specify and connect the host name and port number by properties.
Sample Code for C# .NET
When the host name is 'DirSvr1' and the port number is '33101'
ShunService service = new ShunService();
service.Host = "DirSvr1";
service.Port = 33101;
service.Connect(); |
Sample Code for VB .NET
When the host name is 'DirSvr1' and the port number is '33101'
Dim service As New ShunService()
service.Host = "DirSvr1"
service.Port = 33101
service.Connect() |
All Rights Reserved, Copyright(C) FUJITSU LIMITED 2006