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

|
7.3.2 Specifying with the .NET API
Shunsaku File can be specified using the parameter in the ChangeShunsakuFile method.
Syntax
ShunService object. ChangeShunsakuFile ( Shunsaku File name ); |
Arguments
Shunsaku File name
Specify the name of Shunsaku File after switching Shunsaku File.
Sample Code
For the case when switching from Shunsaku File "fileA" to Shunsaku File "fileB".
//Establish connection in fileA
ShunService service = new ShunService();
service.Host = "DirSvr1";
service.Port = 33101;
service.ShunsakuFile = "fileA";
service.Connect();
:
//Switch to fileB
service.ChangeShunsakuFile("fileB");
: |
All Rights Reserved, Copyright(C) FUJITSU LIMITED 2006