Compartilhar via


Método EscapeString

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, _
    escapeCharacter As Char _
) As String
'Uso
Dim value As String
Dim escapeCharacter As Char
Dim returnValue As String

returnValue = Util.EscapeString(value, _
    escapeCharacter)
public static string EscapeString(
    string value,
    char escapeCharacter
)
public:
static String^ EscapeString(
    String^ value, 
    wchar_t escapeCharacter
)
static member EscapeString : 
        value:string * 
        escapeCharacter:char -> string 
public static function EscapeString(
    value : String, 
    escapeCharacter : char
) : String

Parâmetros

Valor de retorno

Tipo: System. . :: . .String
The equivalent string with the character escaped.