OnMDBShutDown Method

OnMDBShutDown 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.

Called on an event sink whenever a store is shut down.

Applies To

IExStoreSystemEvents Interface

Type Library

EXOLEDB Type Library

DLL Implemented In

EXOLEDB.DLL

Syntax

[Visual Basic]Sub OnMDBShutDown
(
    bstrMDBGuid As String,     lFlags As LONG
)

[C++]HRESULT OnMDBShutDown (     BSTR bstrMDBGuid,     LONG lFlags );

Parameters

  • bstrMDBGuid
    String containing the globally unique identifier (GUID) of the message database (MDB) being stopped.

  • lFlags
    The following (bitwise AND) flags can give you further information about system events:

    Decimal Value C++ Enum Equivalent Meaning
    64 EVT_INITNEW This flag is set at the first firing of the event. (Useful for initialization purposes. It is set only once during the lifetime of a created event sink.)

Return Value

Returns S_OK if successful, or an error value otherwise.

Remarks

The OnMDBShutDown event is called asynchronously whenever an MDB is stopped.

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.