Conditions プロパティ

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

名前空間:  Microsoft.SqlServer.Management.Dmf
アセンブリ:  Microsoft.SqlServer.Dmf (Microsoft.SqlServer.Dmf.dll)

構文

'宣言
<SfcObjectAttribute(SfcContainerRelationship.ChildContainer, SfcContainerCardinality.ZeroToAny,  _
    GetType(Condition))> _
Public ReadOnly Property Conditions As ConditionCollection
    Get
'使用
Dim instance As PolicyStore
Dim value As ConditionCollection

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

プロパティ値

型: Microsoft.SqlServer.Management.Dmf. . :: . .ConditionCollection
ポリシー ストアで定義されたすべての条件を表す ConditionCollection オブジェクトです。

説明

このコレクションを使用し、条件名を指定することによって、特定の条件を参照できます。新しい条件をコレクションに追加するには、条件コンストラクタ Condition を呼び出します。

この名前空間、クラス、またはメンバーは、Microsoft .NET Framework Version 2.0 でのみサポートされています。