SetProperty method

Sets a configuration property for this instance of WSBase.

Syntax
Visual Basic
Public Sub SetProperty( _
   ByVal property As String, _
   ByVal val As String _
)
C#
public void SetProperty(
   string  property,
   string  val
);
Parameters
  • property   The property name to set.

  • val   The property value.

Remarks

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\\".