Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

OnMDBShutDown Method

Exchange Server 2003

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

Applies To

Type Library

EXOLEDB Type Library

DLL Implemented In



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

    BSTR bstrMDBGuid,
    LONG lFlags


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

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.


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

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
© 2014 Microsoft. All rights reserved.