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

  • QueryText
    Type: String
    The name of the query.

Return Value

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

See Also

Reference

ServerConnection Class

NormalizeQuery Overload

Microsoft.SqlServer.Management.Common Namespace