Nuta
Dostęp do tej strony wymaga autoryzacji. Możesz spróbować się zalogować lub zmienić katalog.
Dostęp do tej strony wymaga autoryzacji. Możesz spróbować zmienić katalogi.
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
- Enabled
- EventClassPartitionID
- EventCLSID
- FilterCriteria
- ID
- InterfaceID
- MachineName
- MethodName
- Name
- PerUser
- PublisherID
- Queued
- SubscriberMoniker
- SubscriberPartitionID
- UserName
Description
| Entry | Value |
|---|---|
| Description | A description for the subscription. |
| Access | ReadWrite |
| Type | String |
| Default | "" |
| Minimum system | Windows 2000 |
Enabled
| Entry | Value |
|---|---|
| Description | Indicates whether the subscription is presently enabled. |
| Access | ReadWrite |
| Type | Bool |
| Default | True |
| Minimum system | Windows 2000 |
EventClassPartitionID
| Entry | Value |
|---|---|
| Description | When 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. |
| Access | ReadWrite |
| Type | String |
| Default | NULL |
| Minimum system | Windows Server 2003 |
EventCLSID
| Entry | Value |
|---|---|
| Description | The CLSID for the event class. You can indicate an EventCLSID or a PublisherID but not both. |
| Access | WriteOnce |
| Type | String |
| Default | N/A |
| Minimum system | Windows 2000 |
FilterCriteria
| Entry | Value |
|---|---|
| Description | A string indicating the filter criteria. Can be a CLSID for a PublisherFilter class. |
| Access | ReadWrite |
| Type | String |
| Default | N/A |
| Minimum system | Windows 2000 |
ID
| Entry | Value |
|---|---|
| Description | Identifier for the subscription. This property is returned when the Key property method is called on an object of this collection. |
| Access | WriteOnce |
| Type | String |
| Default | <Generated> |
| Minimum system | Windows 2000 |
InterfaceID
| Entry | Value |
|---|---|
| Description | The IID for the interface subscribed to. |
| Access | ReadWrite |
| Type | String |
| Default | N/A |
| Minimum system | Windows 2000 |
MachineName
| Entry | Value |
|---|---|
| Description | A remote computer name for subscriptions to event classes on a remote computer. |
| Access | ReadWrite |
| Type | String |
| Default | "" |
| Minimum system | Windows 2000 |
MethodName
| Entry | Value |
|---|---|
| Description | Method on the interface being subscribed to. |
| Access | ReadWrite |
| Type | String |
| Default | N/A |
| Minimum system | Windows 2000 |
Name
| Entry | Value |
|---|---|
| Description | Name 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. |
| Access | ReadWrite |
| Type | String |
| Default | "New Subscription" |
| Minimum system | Windows 2000 |
PerUser
| Entry | Value |
|---|---|
| Description | Indicates whether the subscription applies only for a given user, UserName. |
| Access | ReadWrite |
| Type | Bool |
| Default | False |
| Minimum system | Windows 2000 |
PublisherID
| Entry | Value |
|---|---|
| Description | The ID for the publisher. You can indicate an EventCLSID or a PublisherID but not both. |
| Access | WriteOnce |
| Type | String |
| Default | "" |
| Minimum system | Windows 2000 |
Queued
| Entry | Value |
|---|---|
| Description | Indicates whether the subscription is queued. |
| Access | ReadWrite |
| Type | Bool |
| Default | False |
| Minimum system | Windows 2000 |
SubscriberMoniker
| Entry | Value |
|---|---|
| Description | A moniker for a subscriber marked as Queued. A default value is generated when Queued is initially set to True. |
| Access | ReadWrite |
| Type | String |
| Default | N/A |
| Minimum system | Windows 2000 |
SubscriberPartitionID
| Entry | Value |
|---|---|
| Description | When 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. |
| Access | WriteOnce |
| Type | String |
| Default | <Generated> |
| Minimum system | Windows Server 2003 |
UserName
| Entry | Value |
|---|---|
| Description | The name of user that the subscription applies to, when PerUser is True. |
| Access | ReadWrite |
| Type | String |
| Default | N/A |
| Minimum system | Windows 2000 |
See also