Share via


TargetSetLevel.Condition Property

Gets or sets the condition of the target set level.

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 TargetSetLevel 
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 of the target set level.

Remarks

This namespace, class, or member is supported only in version 2.0 of the Microsoft .NET Framework.

See Also

Reference

TargetSetLevel Class

Microsoft.SqlServer.Management.Dmf Namespace