Compartilhar via


Propriedade do RDL Policy.RootCondition

Gets or sets the name of the root condition for this policy.

Namespace:  Microsoft.SqlServer.Management.Dmf
Assembly:  Microsoft.SqlServer.Dmf (em Microsoft.SqlServer.Dmf.dll)

Sintaxe

'Declaração
<SfcPropertyAttribute(SfcPropertyFlags.Required)> _
<SfcReferenceAttribute(GetType(Condition), "PolicyStore/Condition[@Name='{0}']",  _
    )> _
Public Property RootCondition As String 
    Get 
    Set
'Uso
Dim instance As Policy 
Dim value As String 

value = instance.RootCondition

instance.RootCondition = value
[SfcPropertyAttribute(SfcPropertyFlags.Required)]
[SfcReferenceAttribute(typeof(Condition), "PolicyStore/Condition[@Name='{0}']", 
    )]
public string RootCondition { get; set; }
[SfcPropertyAttribute(SfcPropertyFlags::Required)]
[SfcReferenceAttribute(typeof(Condition), L"PolicyStore/Condition[@Name='{0}']", 
    )]
public:
property String^ RootCondition {
    String^ get ();
    void set (String^ value);
}
[<SfcPropertyAttribute(SfcPropertyFlags.Required)>]
[<SfcReferenceAttribute(typeof(Condition), "PolicyStore/Condition[@Name='{0}']", 
    )>]
member RootCondition : string with get, set
function get RootCondition () : String 
function set RootCondition (value : String)

Valor da propriedade

Tipo: System.String
A String object that specifies the root condition for the policy.

Exemplos

Definindo propriedades

Consulte também

Referência

Policy Classe

Namespace Microsoft.SqlServer.Management.Dmf