Méthode SfcTsqlProcFormatter.EscapeString
Escapes the specified string object. Ne faites pas directement référence à ce membre dans votre code. Il prend en charge l'infrastructure SQL Server.
Espace de noms : Microsoft.SqlServer.Management.Sdk.Sfc
Assembly : Microsoft.SqlServer.Management.Sdk.Sfc (en Microsoft.SqlServer.Management.Sdk.Sfc.dll)
'Déclaration
Public Shared Function EscapeString ( _
value As String, _
charToEscape As Char _
) As String
'Utilisation
Dim value As String
Dim charToEscape As Char
Dim returnValue As String
returnValue = SfcTsqlProcFormatter.EscapeString(value, _
charToEscape)
public static string EscapeString(
string value,
char charToEscape
)
public:
static String^ EscapeString(
String^ value,
wchar_t charToEscape
)
static member EscapeString :
value:string *
charToEscape:char -> string
public static function EscapeString(
value : String,
charToEscape : char
) : String
- value
Type : System.String
The string that represents the value.
- charToEscape
Type : System.Char
The specified character to escape.
Type : System.String
The String that needs to be escaped.