共用方式為


3.1.4.8 IEventSubscription2

The IEventSubscription2 interface provides methods to get and set the properties of a subscription. This interface inherits opnums 0 through 40 from IEventSubscription as specified in section 3.1.4.4. The version for this interface is 0.0.

To receive incoming remote calls for this interface, the server MUST implement a DCOM [MS-DCOM] object class with the class ID CLSID_Subscription (see section 1.9) using the UUID {4A6B0E16-2E38-11D1-9965-00C04FBBB345} for this interface.

The interface contains the following methods beyond the ones for IEventSubscription.

Methods in RPC Opnum Order

Method

Description

get_FilterCriteria

Gets the FilterCriteria property of the subscription.

Opnum: 41

put_FilterCriteria

Sets the FilterCriteria property of the subscription.

Opnum: 42

get_SubscriberMoniker

Gets the SubscriberMoniker property of the subscription.

Opnum: 43

put_SubscriberMoniker

Sets the SubscriberMoniker property of the subscription.

Opnum: 44