Kommentar
Åtkomst till den här sidan kräver auktorisering. Du kan prova att logga in eller ändra kataloger.
Åtkomst till den här sidan kräver auktorisering. Du kan prova att ändra kataloger.
Represents a collection of Condition objects. Each Condition object represents a policy-based Management condition.
Namespace: Microsoft.SqlServer.Management.Dmf
Assembly: Microsoft.SqlServer.Dmf (in Microsoft.SqlServer.Dmf.dll)
Syntax
'Declaration
<SfcObjectAttribute(SfcContainerRelationship.ChildContainer, SfcContainerCardinality.ZeroToAny, _
GetType(Condition))> _
Public ReadOnly Property Conditions As ConditionCollection
Get
'Usage
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
Property Value
Type: Microsoft.SqlServer.Management.Dmf.ConditionCollection
A ConditionCollection object that represents all the conditions that are defined on the policy store.
Remarks
This collection can reference specific conditions by specifying the name of the condition. To add a new condition to the collection, call the condition constructor Condition.