다음을 통해 공유


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 네임스페이스