PolicyStore.ObjectSets プロパティ

ObjectSet オブジェクトのコレクションを表します。 各 ObjectSet オブジェクトは、ポリシー ベースの管理のオブジェクト セットを表します。

名前空間:  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
ポリシー ストアで定義されたすべてのオブジェクト セットを表す ObjectSetCollection オブジェクトです。

説明

このコレクションを使用し、オブジェクト セット名を指定することによって、特定のオブジェクト セットを参照できます。 新しいオブジェクト セットをコレクションに追加するには、オブジェクト セット コンストラクター ObjectSet を呼び出します。

関連項目

参照

PolicyStore クラス

Microsoft.SqlServer.Management.Dmf 名前空間