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. See SetProperty method for a list of valid property names.

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

Return value

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.