| 
			Interstage Shunsaku Data Manager Application Development Guide - Microsoft(R) Windows(R) 2000/ Microsoft(R) Windows Server(TM) 2003 - - UNIX -
		 | 
	
	
		
			Contents
			Index
			  
		 | 
	
7.2.1.2 Specifying with the .NET API
In this method, the Shunsaku File name is specified at the properties after creating the ShunService object.
Sample Code for C# .NET
When the host name is "DirSvr1", the port number is "33101" and the Shunsaku File name is "fileA"
ShunService service = new ShunService();
service.Host = "DirSvr1";
service.Port = 33101;
service.ShunsakuFile = "fileA";
service.Connect();  | 
Sample Code for VB .NET
When the host name is "DirSvr1", the port number is "33101" and the Shunsaku File name is "fileA"
Dim service As New ShunService()
service.Host = "DirSvr1"
service.Port = 33101
service.ShunsakuFile = "fileA"
service.Connect()  | 

This information can also be specified in the ShunService class constructor. Refer to the .NET API Reference for more information.
All Rights Reserved, Copyright(C) FUJITSU LIMITED 2006