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

Part 2 Developing Applications by APIs> Chapter 10 Developing .NET Applications> 10.3 How to Use .NET APIs

10.3.4 Closing Connections

After the data searches or data updates have finished, close the connection to Shunsaku. Use the Disconnect method to close the connection.

mark1Sample Code for C# .NET

ShunService service = new ShunService();
service.Connect() ;
   :
service.Disconnect();

mark1Sample Code for VB .NET

Dim service As New ShunService ()
service.Connect()
   :
service.Disconnect()

Contents Index PreviousNext

All Rights Reserved, Copyright(C) FUJITSU LIMITED 2006