ServerConnection.NormalizeQuery 方法 (String, Boolean)
规范化控制服务器连接的查询。
命名空间: 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
参数
- QueryText
类型:String
查询的名称。
- QuotedIdentifiers
类型:Boolean
如果标识符具有引号,则为 true;否则为 false。
返回值
类型:String
控制服务器连接的查询。