ODBCPrefix Property (SQL-DMO)

The ODBCPrefix property controls error and status message text formatting for a SQL-DMO application.

Applies To

SQLServer Object

Syntax

object.ODBCPrefix [= value]

Part Description
object Expression that evaluates to an object in the Applies To list
value True or False

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.

Data Type

Boolean

Modifiable

Read/write

Prototype (C/C++)

HRESULT GetODBCPrefix(LPBOOL pRetVal);

HRESULT SetODBCPrefix(BOOL NewValue);

  


(c) 1988-98 Microsoft Corporation. All Rights Reserved.