ServerConnection.NormalizeQuery Method (String)

Uses a string input that represents the query text.

Namespace:  Microsoft.SqlServer.Management.Common
Assembly:  Microsoft.SqlServer.ConnectionInfo (in Microsoft.SqlServer.ConnectionInfo.dll)

Syntax

'Declaration
Public Shared Function NormalizeQuery ( _
    QueryText As String _
) As String
'Usage
Dim QueryText As String
Dim returnValue As String

returnValue = ServerConnection.NormalizeQuery(QueryText)
public static string NormalizeQuery(
    string QueryText
)
public:
static String^ NormalizeQuery(
    String^ QueryText
)
static member NormalizeQuery : 
        QueryText:string -> string 
public static function NormalizeQuery(
    QueryText : String
) : String

Parameters

Return Value

Type: System.String
A String value that represents the query text.