다음을 통해 공유


OnTimer Method

Topic Last Modified: 2006-06-13

Called after a specific interval of time.

Applies To

IExStoreSystemEvents Interface

Type Library

EXOLEDB Type Library

DLL Implemented In

EXOLEDB.DLL

Syntax

Sub OnTimer(    bstrURLItem As String,
        lFlags As LONG)
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.