Dela via


ExpressionNode.ConstructNode Method

Creates a new expression node.

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

Syntax

'Declaration
<STraceConfigurationAttribute(SkipAutoTrace := True)> _
Public Shared Function ConstructNode ( _
    obj As Object _
) As ExpressionNode
'Usage
Dim obj As Object
Dim returnValue As ExpressionNode

returnValue = ExpressionNode.ConstructNode(obj)
[STraceConfigurationAttribute(SkipAutoTrace = true)]
public static ExpressionNode ConstructNode(
    Object obj
)
[STraceConfigurationAttribute(SkipAutoTrace = true)]
public:
static ExpressionNode^ ConstructNode(
    Object^ obj
)
[<STraceConfigurationAttribute(SkipAutoTrace = true)>]
static member ConstructNode : 
        obj:Object -> ExpressionNode 
public static function ConstructNode(
    obj : Object
) : ExpressionNode

Parameters

  • obj
    Type: System.Object
    An Object value that specifies the object on which the expression node is based.

Return Value

Type: Microsoft.SqlServer.Management.Dmf.ExpressionNode
An ExpressionNode object that represents the new expression node.

Remarks

C#

DateTime today = DateTime.Today;
arg1 = ExpressionNode.ConstructNode(today);