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

OnTimer Method

Exchange Server 2003

Called after a specific interval of time.

Applies To

Type Library

EXOLEDB Type Library

DLL Implemented In



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

[C++]HRESULT OnTimer
    BSTR bstrURLItem,
    LONG lFlags


A URL to the event registration item.

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.


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.
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
© 2014 Microsoft. All rights reserved.