다음을 통해 공유


GetData Method

Topic Last Modified: 2006-06-13

This method retrieves a pointer to data that was set with SetData Method.

Applies To

IUserData Interface

Type Library

EXOLEDB Type Library

DLL Implemented In

EXOLEDB.DLL

Syntax

Sub GetData(    ByVal plData As Long)
HRESULT GetData
(
        LONG_PTR* plData
);

Parameters

Return Value

Returns S_OK if successful, or an error value otherwise.

Remarks

This method is to be used with synchronous events where you want to save data during the begin phase and retrieve the data during the commit/abort phase.

See Data Property for an equivalent method for Microsoft® Visual Basic® and scripts.