Policy.Condition 屬性
Gets or sets the condition.
命名空間: Microsoft.SqlServer.Management.Dmf
組件: Microsoft.SqlServer.Dmf (在 Microsoft.SqlServer.Dmf.dll 中)
語法
'宣告
<SfcPropertyAttribute(SfcPropertyFlags.Required)> _
<SfcReferenceAttribute(GetType(Condition), "PolicyStore/Condition[@Name='{0}']", _
)> _
Public Property Condition As String
Get
Set
'用途
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)
屬性值
型別:System.String
A string value that specifies the condition.