Click here to view and discuss this page in DocCommentXchange. In the future, you will be sent there automatically.

SQL Anywhere 11.0.1 (Français) » QAnywhere » QAnywhere Reference » QAnywhere .NET API reference » QAnywhere .NET API for web services (.NET 2.0) » WSBase class


SetServiceID method

Sets a user-defined ID for this instance of WSBase.

Visual Basic
Public Sub SetServiceID( _
   ByVal serviceID As String _
public void SetServiceID(
   string  serviceID
  • serviceID   The service ID.


The service ID should be set to a value unique to this instance of WSBase. It is used internally to form a queue name for sending and receiving web service requests. The service ID should be persisted between application sessions to retrieve results of web service requests made in a previous session.