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 命名空间