SQL-DMO
ODBCPrefix Property
The ODBCPrefix property controls error and status message text formatting for a SQL-DMO application.
Applies To
SQLServer Object |
Syntax
object.ODBCPrefix [= value]
Parts
object
Expression that evaluates to an object in the Applies To list
value
TRUE or FALSE
Data Type
Boolean
Modifiable
Read/write
Prototype (C/C++)
HRESULT GetODBCPrefix(LPBOOL pRetVal);
HRESULT SetODBCPrefix(BOOL NewValue);
Remarks
When TRUE, descriptive error text is prefixed by indicators of error source.
When FALSE, SQL-DMO strips error source indicators and returns only the error message text.