IUserData Interface

IUserData Interface

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 interface is used to persist data for the duration of the synchronous event (from the begin phase to the commit/abort phase).

Type Library

EXOLEDB Type Library

EXOLEDB Event Sink Type Library

DLL Implemented In

EXOLEDB.DLL, EXEVTSNK.TLB

Member Summary

The following table lists the methods of the IUserData interface.

Name Description
GetData This method retrieves a pointer to data that was set with SetData Method.
SetData This method sets data into memory that can be retrieved later using GetData Method.

Remarks

These methods are 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.

IUserData is not a dual interface. See the IExStoreDispEventInfo Interface for equivalent methods for Microsoft® Visual Basic® and scripts. Visual Basic and Visual Basic Scripting Edition (VBScript) programmers who want to use this interface can also add a reference to the EXOLEDB Event Sink Type Library (EXEVTSNK.TLB). EXEVTSNK.TLB is downloaded with the Exchange Server 2003 Software Development Kit (SDK) to the \Program Files\Exchange SDK\SDK\Support\OLEDB\ directory.

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.