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


SetProperty method

Sets a configuration property for this instance of WSBase.

Visual Basic
Public Sub SetProperty( _
   ByVal property As String, _
   ByVal val As String _
public void SetProperty(
   string  property,
   string  val
  • property   The property name to set.

  • val   The property value.


Configuration properties must be set before any asynchronous or synchronous web service request is made. This method has no effect if it is called after a web service request has been made.

Valid configuration properties are:

LOG_FILE a file to which to log runtime information.

LOG_LEVEL a value between 0 and 6 that controls the verbosity of information logged, with 6 being the highest verbosity.

WS_CONNECTOR_ADDRESS the address of the web service connector in the MobiLink server. The default is: "ianywhere.connector.webservices\\".