다음을 통해 공유


PolicyStore.ObjectSets 속성

Represents a collection of ObjectSet objects. Each ObjectSet object represents a policy-based Management object set.

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

구문

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

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

속성 값

유형: Microsoft.SqlServer.Management.Dmf.ObjectSetCollection
A ObjectSetCollection object that represents all the object sets that are defined on the policy store.

주의

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

참고 항목

참조

PolicyStore 클래스

Microsoft.SqlServer.Management.Dmf 네임스페이스