Compartir a través de


ToStringForDisplay Método

Returns the referenced object in string format for display.

Espacio de nombres:  Microsoft.SqlServer.Management.Dmf
Ensamblado:  Microsoft.SqlServer.Dmf (en Microsoft.SqlServer.Dmf.dll)

Sintaxis

'Declaración
<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 devuelto

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

Ejemplos

C#

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