Freigeben über


Urn.EscapeString-Methode

An escape string for use in an XPathExpression. Verweisen Sie nicht direkt im Code auf dieses Element. Unterstützt die SQL Server-Infrastruktur.

Namespace:  Microsoft.SqlServer.Management.Sdk.Sfc
Assembly:  Microsoft.SqlServer.Management.Sdk.Sfc (in Microsoft.SqlServer.Management.Sdk.Sfc.dll)

Syntax

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

returnValue = Urn.EscapeString(value)
[ComVisibleAttribute(false)]
public static string EscapeString(
    string value
)
[ComVisibleAttribute(false)]
public:
static String^ EscapeString(
    String^ value
)
[<ComVisibleAttribute(false)>]
static member EscapeString : 
        value:string -> string
public static function EscapeString(
    value : String
) : String

Parameter

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

Rückgabewert

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

Siehe auch

Verweis

Urn Klasse

Microsoft.SqlServer.Management.Sdk.Sfc-Namespace