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.