The ODBCPrefix property controls error and status message text formatting for a SQL-DMO application.
object.ODBCPrefix [= value]
object
Expression that evaluates to an object in the Applies To list
value
TRUE or FALSE
Boolean
Read/write
HRESULT GetODBCPrefix(LPBOOL pRetVal);
HRESULT SetODBCPrefix(BOOL NewValue);
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.