Condividi tramite


Proprietà PolicyCategorySubscriptions

Represents a collection of PolicyCategorySubscription objects. Each PolicyCategorySubscription object represents a policy-based Management policy category subscription.

Spazio dei nomi  Microsoft.SqlServer.Management.Dmf
Assembly:  Microsoft.SqlServer.Dmf (in Microsoft.SqlServer.Dmf.dll)

Sintassi

'Dichiarazione
<SfcObjectAttribute(SfcContainerRelationship.ChildContainer, SfcContainerCardinality.ZeroToAny,  _
    GetType(PolicyCategorySubscription))> _
Public ReadOnly Property PolicyCategorySubscriptions As PolicyCategorySubscriptionCollection
    Get
'Utilizzo
Dim instance As PolicyStore
Dim value As PolicyCategorySubscriptionCollection

value = instance.PolicyCategorySubscriptions
[SfcObjectAttribute(SfcContainerRelationship.ChildContainer, SfcContainerCardinality.ZeroToAny, 
    typeof(PolicyCategorySubscription))]
public PolicyCategorySubscriptionCollection PolicyCategorySubscriptions { get; }
[SfcObjectAttribute(SfcContainerRelationship::ChildContainer, SfcContainerCardinality::ZeroToAny, 
    typeof(PolicyCategorySubscription))]
public:
property PolicyCategorySubscriptionCollection^ PolicyCategorySubscriptions {
    PolicyCategorySubscriptionCollection^ get ();
}
[<SfcObjectAttribute(SfcContainerRelationship.ChildContainer, SfcContainerCardinality.ZeroToAny, 
    typeof(PolicyCategorySubscription))>]
member PolicyCategorySubscriptions : PolicyCategorySubscriptionCollection
function get PolicyCategorySubscriptions () : PolicyCategorySubscriptionCollection

Valore proprietà

Tipo: Microsoft.SqlServer.Management.Dmf. . :: . .PolicyCategorySubscriptionCollection
A PolicyCategorySubscriptionCollection object that represents all the policy category subscriptions that are defined on the policy store.

Osservazioni

This collection references specific object sets by specifying the name of the policy category subscription. To add a new policy category subscription to the collection, call the policy category subscription constructor PolicyCategorySubscription.