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

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

 

SetRequestProperty method

Sets a request property for webservice requests made by this WSBase.

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

  • value   The property value.

Remarks

A request property is set on each QAMessage that is sent by this WSBase, until the property is cleared. A request property is cleared by setting it to a null value. The type of the message property is determined by the class of the value parameter. For example, if value is an instance of Int32, then SetIntProperty is used to set the property on the QAMessage.