Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Do not reference this member directly in your code. It supports the SQL Server infrastructure.
Namespace: Microsoft.SqlServer.Management.Sdk.Sfc
Assembly: Microsoft.SqlServer.Management.Sdk.Sfc (in Microsoft.SqlServer.Management.Sdk.Sfc.dll)
Syntax
'Declaration
Public Shared Function EscapeString ( _
value As String, _
escapeCharacter As Char _
) As String
'Usage
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
Parameters
- value
Type: System.String
The string.
- escapeCharacter
Type: System.Char
The character to escape.
Return Value
Type: System.String
The equivalent string with the character escaped.