GetProperty method

Retrieves the current value of a property.

Syntax
bool GetProperty( const char *name, char *value )
Parameters
  • name   The name of the property to retrieve the value of. For a list of valid property names, see SetProperty method.

  • value   A buffer of at least DBSC_MAX_PROPERTY_LEN bytes where the value of the property is stored.

Returns

Returns true if the property was successfully retrieved.

Returns false if the property could not be retrieved. When false is returned, you can call the GetErrorInfo method to get more information about the failure. See GetErrorInfo method.