ServerConnection.NormalizeQuery-Methode (String, Boolean)

Normalisiert die Abfrage, durch die die Serververbindung gesteuert wird.

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

Syntax

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

returnValue = ServerConnection.NormalizeQuery(QueryText, _
    QuotedIdentifiers)
public static string NormalizeQuery(
    string QueryText,
    bool QuotedIdentifiers
)
public:
static String^ NormalizeQuery(
    String^ QueryText, 
    bool QuotedIdentifiers
)
static member NormalizeQuery : 
        QueryText:string * 
        QuotedIdentifiers:bool -> string
public static function NormalizeQuery(
    QueryText : String, 
    QuotedIdentifiers : boolean
) : String

Parameter

  • QueryText
    Typ: String
    Der Name der Abfrage.
  • QuotedIdentifiers
    Typ: Boolean
    true für Bezeichner in Anführungszeichen, andernfalls false.

Rückgabewert

Typ: String
Die Abfrage, durch die die Serververbindung gesteuert wird.

Siehe auch

Verweis

ServerConnection Klasse

NormalizeQuery-Überladung

Microsoft.SqlServer.Management.Common-Namespace