Compartilhar via


Método EscapeString

Escapes the specified string object. Não referencie esse membro diretamente no código. Ele dá suporte à infraestrutura do SQL Server.

Namespace:  Microsoft.SqlServer.Management.Sdk.Sfc
Assembly:  Microsoft.SqlServer.Management.Sdk.Sfc (em Microsoft.SqlServer.Management.Sdk.Sfc.dll)

Sintaxe

'Declaração
Public Shared Function EscapeString ( _
    value As String, _
    charToEscape As Char _
) As String
'Uso
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

Parâmetros

Valor de retorno

Tipo: System. . :: . .String
The String that needs to be escaped.