Поделиться через


Метод ServerConnection.NormalizeQuery (String, Boolean)

Normalizes the query that controls the server connection.

Пространство имен:  Microsoft.SqlServer.Management.Common
Сборка:  Microsoft.SqlServer.ConnectionInfo (в Microsoft.SqlServer.ConnectionInfo.dll)

Синтаксис

'Декларация
Public Shared Function NormalizeQuery ( _
    QueryText As String, _
    QuotedIdentifiers As Boolean _
) As String
'Применение
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

Параметры

  • QuotedIdentifiers
    Тип: System.Boolean
    true to the identifiers that are quoted; otherwise, false.

Возвращаемое значение

Тип: System.String
The query that controls the server connection.

См. также

Справочник

ServerConnection Класс

Перегрузка NormalizeQuery

Пространство имен Microsoft.SqlServer.Management.Common