Méthode ServerConnection.NormalizeQuery (String, Boolean)
Normalise la requête qui contrôle la connexion de serveur.
Espace de noms : Microsoft.SqlServer.Management.Common
Assembly : Microsoft.SqlServer.ConnectionInfo (en Microsoft.SqlServer.ConnectionInfo.dll)
Syntaxe
'Déclaration
Public Shared Function NormalizeQuery ( _
QueryText As String, _
QuotedIdentifiers As Boolean _
) As String
'Utilisation
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
Paramètres
- QueryText
Type : String
Nom de la requête.
- QuotedIdentifiers
Type : Boolean
True pour les identificateurs entre guillemets ; sinon, False.
Valeur de retour
Type : String
Requête qui contrôle la connexion de serveur.