다음을 통해 공유


PolicyCategories 속성

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

네임스페이스:  Microsoft.SqlServer.Management.Dmf
어셈블리:  Microsoft.SqlServer.Dmf.dll의 Microsoft.SqlServer.Dmf

구문

‘선언
<SfcObjectAttribute(SfcContainerRelationship.ChildContainer, SfcContainerCardinality.ZeroToAny,  _
    GetType(PolicyCategory))> _
Public ReadOnly Property PolicyCategories As PolicyCategoryCollection
    Get
‘사용 방법
Dim instance As PolicyStore
Dim value As PolicyCategoryCollection

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

속성 값

형식: Microsoft.SqlServer.Management.Dmf. . :: . .PolicyCategoryCollection
A PolicyCategoryCollection object that represents all the policy categories that are defined on the policy store.

주의

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

이 네임스페이스, 클래스 또는 멤버는 Microsoft .NET Framework 2.0 버전에서만 지원됩니다.