PolicyCategorySubscriptions 属性

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

命名空间:  Microsoft.SqlServer.Management.Dmf
程序集:  Microsoft.SqlServer.Dmf(在 Microsoft.SqlServer.Dmf.dll 中)

语法

声明
<SfcObjectAttribute(SfcContainerRelationship.ChildContainer, SfcContainerCardinality.ZeroToAny,  _
    GetType(PolicyCategorySubscription))> _
Public ReadOnly Property PolicyCategorySubscriptions As PolicyCategorySubscriptionCollection
    Get
用法
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

属性值

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

注释

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.