Metoda SfcTsqlProcFormatter.EscapeString
Wypływa obiektu określony ciąg znaków.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, _
charToEscape As Char _
) As String
'Użycie
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
Parametry
- value
Typ: System.String
Ciąg, który reprezentuje wartość.
- charToEscape
Typ: System.Char
Określony znak escape.
Wartość zwracana
Typ: System.String
Ciąg musi być wyjściowym.
Zobacz także