SubscriptionsForComponent collection (COM+)

Switch View :
ScriptFree
SubscriptionsForComponent collection

Applies to: desktop apps only

Contains an object for each subscription for the parent Components collection.

This collection supports the Add and Remove methods of the COMAdminCatalogCollection object.

Members

The SubscriptionsForComponent collection inherits from the IUnknown interface but does not have additional members.

Related Collections

You can navigate from this collection to any of the following collections:

You can navigate to this collection from the following collections:

Properties

The following properties are supported by the COMAdminCatalogObject object within the collection:

Description

DescriptionA description for the subscription.
AccessReadWrite
TypeString
Default""
Minimum systemWindows 2000

 

Enabled

DescriptionIndicates whether the subscription is presently enabled.
AccessReadWrite
TypeBool
DefaultTrue
Minimum systemWindows 2000

 

EventClassPartitionID

DescriptionWhen subscribing to an event class, used to represent the GUID of the partition ID containing the event class. When subscribing to event classes, the subscriber has the option to subscribe to an event class in the same or different partition.
AccessReadWrite
TypeString
DefaultNULL
Minimum systemWindows Server 2003

 

EventCLSID

DescriptionThe CLSID for the event class. You can indicate an EventCLSID or a PublisherID but not both.
AccessWriteOnce
TypeString
DefaultN/A
Minimum systemWindows 2000

 

FilterCriteria

DescriptionA string indicating the filter criteria. Can be a CLSID for a PublisherFilter class.
AccessReadWrite
TypeString
DefaultN/A
Minimum systemWindows 2000

 

ID

DescriptionIdentifier for the subscription. This property is returned when the Key property method is called on an object of this collection.
AccessWriteOnce
TypeString
Default<Generated>
Minimum systemWindows 2000

 

InterfaceID

DescriptionThe IID for the interface subscribed to.
AccessReadWrite
TypeString
DefaultN/A
Minimum systemWindows 2000

 

MachineName

DescriptionA remote computer name for subscriptions to event classes on a remote computer.
AccessReadWrite
TypeString
Default""
Minimum systemWindows 2000

 

MethodName

DescriptionMethod on the interface being subscribed to.
AccessReadWrite
TypeString
DefaultN/A
Minimum systemWindows 2000

 

Name

DescriptionName for the subscription. Extra spaces at the beginning and end of the string are stripped out. This property is returned when the Name property method is called on an object of this collection.
AccessReadWrite
TypeString
Default"New Subscription"
Minimum systemWindows 2000

 

PerUser

DescriptionIndicates whether the subscription applies only for a given user, UserName.
AccessReadWrite
TypeBool
DefaultFalse
Minimum systemWindows 2000

 

PublisherID

DescriptionThe ID for the publisher. You can indicate an EventCLSID or a PublisherID but not both.
AccessWriteOnce
TypeString
Default""
Minimum systemWindows 2000

 

Queued

DescriptionIndicates whether the subscription is queued.
AccessReadWrite
TypeBool
DefaultFalse
Minimum systemWindows 2000

 

SubscriberMoniker

DescriptionA moniker for a subscriber marked as Queued. A default value is generated when Queued is initially set to True.
AccessReadWrite
TypeString
DefaultN/A
Minimum systemWindows 2000

 

SubscriberPartitionID

DescriptionWhen subscribing to an event class in the same partition, used to represent the GUID of the partition ID of the subscriber. When subscribing to event classes, the subscriber has the option to subscribe to an event class in the same or different partition.
AccessWriteOnce
TypeString
Default<Generated>
Minimum systemWindows Server 2003

 

UserName

DescriptionThe name of user that the subscription applies to, when PerUser is True.
AccessReadWrite
TypeString
DefaultN/A
Minimum systemWindows 2000

 

See also

COM+ Administration Collections

 

 

Send comments about this topic to Microsoft

Build date: 2/3/2012