ToStringForDisplay 方法

Returns the referenced object in string format for display.

命名空间:  Microsoft.SqlServer.Management.Dmf
程序集:  Microsoft.SqlServer.Dmf(在 Microsoft.SqlServer.Dmf.dll 中)

语法

声明
<STraceConfigurationAttribute(SkipAutoTrace := True)> _
Public Overridable Function ToStringForDisplay As String
用法
Dim instance As ExpressionNode
Dim returnValue As String

returnValue = instance.ToStringForDisplay()
[STraceConfigurationAttribute(SkipAutoTrace = true)]
public virtual string ToStringForDisplay()
[STraceConfigurationAttribute(SkipAutoTrace = true)]
public:
virtual String^ ToStringForDisplay()
[<STraceConfigurationAttribute(SkipAutoTrace = true)>]
abstract ToStringForDisplay : unit -> string 
[<STraceConfigurationAttribute(SkipAutoTrace = true)>]
override ToStringForDisplay : unit -> string 
public function ToStringForDisplay() : String

返回值

类型:System. . :: . .String
A String value that contains the expression node object in string format.

示例

C#

int i = 1;
ExpressionNodeConstant cnst = new ExpressionNodeConstant(i);
MPUTestLog.WriteLine(cnst.ToStringForDisplay());