SetProperty method

Allows you to set QAnywhere Manager configuration properties programmatically.

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

  • val   The QAnywhere Manager configuration property value

Remarks

You can use this method to override default QAnywhere Manager configuration properties by specifying a property name and value. For a list of properties, see QAnywhere manager configuration properties.

You can also set QAnywhere Manager configuration properties using a properties file and the QAManagerFactory.CreateQAManager method.

For more information, see Setting QAnywhere manager configuration properties in a file. Note: you must set required properties before calling QAManager.Open or QATransactionalManager.Open().

Exceptions
See also