Udostępnij przez


Metoda Util.EscapeString

Nie należy odwoływać się do tego elementu członkowskiego bezpośrednio w kodzie. Obsługuje on infrastrukturę programu SQL Server.

Przestrzeń nazw:  Microsoft.SqlServer.Management.Sdk.Sfc
Zestaw:  Microsoft.SqlServer.Management.Sdk.Sfc (w Microsoft.SqlServer.Management.Sdk.Sfc.dll)

Składnia

'Deklaracja
Public Shared Function EscapeString ( _
    value As String, _
    escapeCharacter As Char _
) As String
'Użycie
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

Parametry

Wartość zwracana

Typ: System.String
Ciąg równoważny znakiem wyjściowym.