UserData Property

SQL-DMO

SQL-DMO

UserData Property

The UserData property associates user-defined data with a SQL-DMO object instance.

Applies To

All SQL-DMO objects

Syntax

object.UserData [= value]

Parts

object

Expression that evaluates to an object in the Applies To list

value

Long integer

Data Type

String

Modifiable

Read/write

Prototype (C/C++)

HRESULT GetUserData(LPVOID *pRetVal);

HRESULT SetUserData(LPVOID lpvNewValue);