共用方式為


3.1.4.4 IEventSubscription

The IEventSubscription interface provides methods to get and set the properties of a subscription. This interface inherits opnums 0 through 6 from [MS-OAUT] IDispatch as specified in [MS-OAUT] section 3.1.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 {4A6B0E15-2E38-11D1-9965-00C04FBBB345} for this interface.

The interface includes the following methods beyond those in IDispatch.

Methods in RPC Opnum Order

Method

Description

get_SubscriptionID

Gets the SubscriptionID property of the subscription.

Opnum: 7

put_SubscriptionID

Sets the SubscriptionID property of the subscription.

Opnum: 8

get_SubscriptionName

Gets the SubscriptionName property of the subscription.

Opnum: 9

put_SubscriptionName

Sets the SubscriptionName property of the subscription.

Opnum: 10

get_PublisherID

Gets the PublisherID property of the subscription.

Opnum: 11

put_PublisherID

Sets the PublisherID property of the subscription.

Opnum: 12

get_EventClassID

Gets the EventClassID property of the subscription.

Opnum: 13

put_EventClassID

Sets the EventClassID property of the subscription.

Opnum: 14

get_MethodName

Gets the MethodName property of the subscription.

Opnum: 15

put_MethodName

Sets the MethodName property of the subscription.

Opnum: 16

get_SubscriberCLSID

Gets the SubscriberCLSID property of the subscription.

Opnum: 17

put_SubscriberCLSID

Sets the SubscriberCLSID property of the subscription.

Opnum: 18

get_SubscriberInterface

Gets the SubscriberInterface property of the subscription.

Opnum: 19

put_SubscriberInterface

Sets the SubscriberInterface property of the subscription.

Opnum: 20

get_PerUser

Gets the PerUser property of the subscription.

Opnum: 21

put_PerUser

Sets the PerUser property of the subscription.

Opnum: 22

get_OwnerSID

Gets the OwnerSID property of the subscription.

Opnum: 23

put_OwnerSID

Sets the OwnerSID property of the subscription.

Opnum: 24

get_Enabled

Gets the Enabled property of the subscription.

Opnum: 25

put_Enabled

Sets the Enabled property of the subscription.

Opnum: 26

get_Description

Gets the Description property of the subscription.

Opnum: 27

put_Description

Sets the Description property of the subscription.

Opnum: 28

get_MachineName

Gets the MachineName property of the subscription.

Opnum: 29

put_MachineName

Sets the MachineName property of the subscription.

Opnum: 30

GetPublisherProperty

Gets the application-specific publisher property for the subscription.

Opnum: 31

PutPublisherProperty

Sets the application-specific publisher property for the subscription.

Opnum: 32

RemovePublisherProperty

Removes an application-specific publisher property for the subscription.

Opnum: 33

GetPublisherPropertyCollection

Gets an application-specific publisher properties collection for the subscription.

Opnum: 34

GetSubscriberProperty

Gets an application-specific subscription property for the subscription.

Opnum: 35

PutSubscriberProperty

Sets an application-specific subscription property for the subscription.

Opnum: 36

RemoveSubscriberProperty

Removes an application-specific subscription property for the subscription.

Opnum: 37

GetSubscriberPropertyCollection

Gets the application-specific subscription properties for the subscription as a collection.

Opnum: 38

get_InterfaceID

Gets the InterfaceID property for the subscription.

Opnum: 39

put_InterfaceID

Sets the InterfaceID property for the subscription.

Opnum: 40