Поделиться через


Свойство ExpressionNode

Gets or sets the type of expression that the condition uses.

Пространство имен:  Microsoft.SqlServer.Management.Dmf
Сборка:  Microsoft.SqlServer.Dmf (в Microsoft.SqlServer.Dmf.dll)

Синтаксис

'Декларация
<SfcIgnoreAttribute> _
Public Property ExpressionNode As ExpressionNode
    Get
    Set
'Применение
Dim instance As Condition
Dim value As ExpressionNode

value = instance.ExpressionNode

instance.ExpressionNode = value
[SfcIgnoreAttribute]
public ExpressionNode ExpressionNode { get; set; }
[SfcIgnoreAttribute]
public:
property ExpressionNode^ ExpressionNode {
    ExpressionNode^ get ();
    void set (ExpressionNode^ value);
}
[<SfcIgnoreAttribute>]
member ExpressionNode : ExpressionNode with get, set
function get ExpressionNode () : ExpressionNode
function set ExpressionNode (value : ExpressionNode)

Значение свойства

Тип: Microsoft.SqlServer.Management.Dmf. . :: . .ExpressionNode
A ExpressionMode object value that specifies the type of expression that the condition uses.

Замечания

This property points to the root node of the tree that contains the expression. The expression is assigned to the condition by calling the Parse(String) that parses the expression string.

Примеры

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()