Urn.EscapeString Method

An escape string for use in an XPathExpression. 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)


<ComVisibleAttribute(False)> _
Public Shared Function EscapeString ( _
    value As String _
) As String
Dim value As String
Dim returnValue As String

returnValue = Urn.EscapeString(value)
public static string EscapeString(
    string value
static String^ EscapeString(
    String^ value
static member EscapeString : 
        value:string -> string 
public static function EscapeString(
    value : String
) : String


  • value
    Type: System.String
    The string to which escape characters '\' will be added.

Return Value

Type: System.String
The new string with escape characters.