Partilhar via


Método ToStringForDisplay

Returns the referenced object in string format for display.

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

Sintaxe

'Declaração
<STraceConfigurationAttribute(SkipAutoTrace := True)> _
Public Overridable Function ToStringForDisplay As String
'Uso
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

Valor de retorno

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

Exemplos

C#

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