Propriedade do RDL PolicyCategorySubscriptions
Represents a collection of PolicyCategorySubscription objects. Each PolicyCategorySubscription object represents a policy-based Management policy category subscription.
Namespace: Microsoft.SqlServer.Management.Dmf
Assembly: Microsoft.SqlServer.Dmf (em Microsoft.SqlServer.Dmf.dll)
Sintaxe
'Declaração
<SfcObjectAttribute(SfcContainerRelationship.ChildContainer, SfcContainerCardinality.ZeroToAny, _
GetType(PolicyCategorySubscription))> _
Public ReadOnly Property PolicyCategorySubscriptions As PolicyCategorySubscriptionCollection
Get
'Uso
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
Valor da propriedade
Tipo: Microsoft.SqlServer.Management.Dmf. . :: . .PolicyCategorySubscriptionCollection
A PolicyCategorySubscriptionCollection object that represents all the policy category subscriptions that are defined on the policy store.
Comentários
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.