共用方式為


ExpressionNode.ConstructNode 方法

Creates a new expression node.

命名空間:  Microsoft.SqlServer.Management.Dmf
組件:  Microsoft.SqlServer.Dmf (在 Microsoft.SqlServer.Dmf.dll 中)

語法

'宣告
<STraceConfigurationAttribute(SkipAutoTrace := True)> _
Public Shared Function ConstructNode ( _
    obj As Object _
) As ExpressionNode
'用途
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

參數

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

傳回值

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

備註

C#

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

請參閱

參考

ExpressionNode 類別

Microsoft.SqlServer.Management.Dmf 命名空間