Share via


ExpressionNode.ToStringForDisplay Method

Returns the referenced object in string format for display.

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

Syntax

'Declaration
<STraceConfigurationAttribute(SkipAutoTrace := True)> _
Public Overridable Function ToStringForDisplay As String
'Usage
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

Return Value

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

Examples

C#

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