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

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