Поделиться через


Метод SfcTsqlProcFormatter.EscapeString

Escapes the specified string object. Не ссылайтесь на этот элемент непосредственно из кода. Он поддерживает работу инфраструктуры SQL Server.

Пространство имен:  Microsoft.SqlServer.Management.Sdk.Sfc
Сборка:  Microsoft.SqlServer.Management.Sdk.Sfc (в Microsoft.SqlServer.Management.Sdk.Sfc.dll)

Синтаксис

'Декларация
Public Shared Function EscapeString ( _
    value As String, _
    charToEscape As Char _
) As String
'Применение
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
    Тип: System.String
    The string that represents the value.
  • charToEscape
    Тип: System.Char
    The specified character to escape.

Возвращаемое значение

Тип: System.String
The String that needs to be escaped.

См. также

Справочник

SfcTsqlProcFormatter Класс

Пространство имен Microsoft.SqlServer.Management.Sdk.Sfc