Share via


SetData Method

SetData Method

This content is no longer actively maintained. It is provided as is, for anyone who may still be using these technologies, with no warranties or claims of accuracy with regard to the most recent product version or service release.

This method sets data into memory that can be retrieved later using GetData Method.

Applies To

IUserData Interface

Type Library

EXOLEDB Type Library

DLL Implemented In

EXOLEDB.DLL

Syntax

[Visual Basic]Sub SetData
(
    ByVal plData As Long
)

[C++]HRESULT SetData (     LONG_PTR plData );

Parameters

  • plData
    A pointer that is saved in memory and available with GetData Method.

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.

Send us your feedback about the Microsoft Exchange Server 2003 SDK.

Build: June 2007 (2007.618.1)

© 2003-2006 Microsoft Corporation. All rights reserved. Terms of use.