Export (0) Print
Expand All

OnTimer Method

Exchange Server 2003

OnTimer 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 after a specific interval of time.

Applies To

Type Library

EXOLEDB Type Library

DLL Implemented In

EXOLEDB.DLL

Syntax

        [Visual Basic]Sub OnTimer
(
    bstrURLItem As String,     lFlags As LONG
)

        [C++]HRESULT OnTimer
(
    BSTR bstrURLItem,
    LONG lFlags
);

Parameters

bstrURLItem
A URL to the event registration item.
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

The return call of this method is not evaluated.

Remarks

This method is called for the time or time interval specified in the registration item.

Note  The store may not invoke this sink if the server is not running when the specified time elapses. For example, if a sink registers for notification at 11:00 A.M. and the service goes down at 10:55 A.M. and comes back up at 11:05 A.M., the sink may not be called.
Show:
© 2014 Microsoft