Udostępnij przez


Właściwość Condition.Facet

Pobiera lub ustawia aspekt, która jest skojarzona z warunkiem.

Przestrzeń nazw:  Microsoft.SqlServer.Management.Dmf
Zestaw:  Microsoft.SqlServer.Dmf (w Microsoft.SqlServer.Dmf.dll)

Składnia

'Deklaracja
<SfcPropertyAttribute(SfcPropertyFlags.Required)> _
Public Property Facet As String
    Get
    Set
'Użycie
Dim instance As Condition
Dim value As String

value = instance.Facet

instance.Facet = value
[SfcPropertyAttribute(SfcPropertyFlags.Required)]
public string Facet { get; set; }
[SfcPropertyAttribute(SfcPropertyFlags::Required)]
public:
property String^ Facet {
    String^ get ();
    void set (String^ value);
}
[<SfcPropertyAttribute(SfcPropertyFlags.Required)>]
member Facet : string with get, set
function get Facet () : String
function set Facet (value : String)

Wartość właściwości

Typ: System.String
A String wartość, która określa aspekt, która jest skojarzona z warunkiem.

Uwagi

Aspekt reprezentuje niektórych konfiguracja, ustawienia lub ograniczenia w ramach struktury bazy danych aplikacji, które wymuszone za pomocą zarządzania opartego na zasadach.

Przykłady

C#

Condition c = new Condition(ps, conditionName);
c.Facet = facet;
c.ExpressionNode = exprNode;
c.Create();

VB

Dim c As Condition
c = New Condition(ps, conditionName)
c.Facet = facet
c.ExpressionNode = exprNode
c.Create()