RemoteGetEventSession Method

Topic Last Modified: 2006-06-13

Returns the requested interface on the remote OLE DB Session object under which the event is executing.

Applies To

IExStoreEventInfo Interface

Type Library

EXOLEDB Type Library

DLL Implemented In

EXOLEDB.DLL

Syntax

Sub RemoteGetEventSession(    ByVal riid As REFIID,
        ByVal ppSession As Object)
HRESULT RemoteGetEventSession
(
        REFIID riid,
        IUnknown** ppSession
);

Parameters

  • riid
    The interface identifier (IID) of the requested interface.
  • ppSession
    On successful return, the passed address contains an IUnknown object reference to the remote OLE DB Session object under which the event is executing.

Return Value

Returns S_OK if successful, or an error value otherwise.

Remarks

This method returns the requested interface on the remote OLE DB Session object under which the event is executing. For system events, the event session executes within a transaction. For an asynchronous event, the object is implicitly created using an IBindResource::Bind call. The object is created within the security context of the default user. Microsoft® Access is limited to the event item.

See the IExStoreDispEventInfo Interface for related methods for Microsoft Visual Basic® and scripts.