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.
Gets or sets the condition.
Namespace: Microsoft.SqlServer.Management.Dmf
Assembly: Microsoft.SqlServer.Dmf (in Microsoft.SqlServer.Dmf.dll)
Syntax
'Declaration
<SfcPropertyAttribute(SfcPropertyFlags.Required)> _
<SfcReferenceAttribute(GetType(Condition), "PolicyStore/Condition[@Name='{0}']", _
)> _
Public Property Condition As String
Get
Set
'Usage
Dim instance As Policy
Dim value As String
value = instance.Condition
instance.Condition = value
[SfcPropertyAttribute(SfcPropertyFlags.Required)]
[SfcReferenceAttribute(typeof(Condition), "PolicyStore/Condition[@Name='{0}']",
)]
public string Condition { get; set; }
[SfcPropertyAttribute(SfcPropertyFlags::Required)]
[SfcReferenceAttribute(typeof(Condition), L"PolicyStore/Condition[@Name='{0}']",
)]
public:
property String^ Condition {
String^ get ();
void set (String^ value);
}
[<SfcPropertyAttribute(SfcPropertyFlags.Required)>]
[<SfcReferenceAttribute(typeof(Condition), "PolicyStore/Condition[@Name='{0}']",
)>]
member Condition : string with get, set
function get Condition () : String
function set Condition (value : String)
Property Value
Type: System.String
A string value that specifies the condition.