Méthode EscapeString

An escape string for use in an XPathExpression. Ne référencez pas directement ce membre dans votre code. Il prend en charge l'infrastructure SQL Server.

Espace de noms :  Microsoft.SqlServer.Management.Sdk.Sfc
Assembly :  Microsoft.SqlServer.Management.Sdk.Sfc (en Microsoft.SqlServer.Management.Sdk.Sfc.dll)

Syntaxe

'Déclaration
<ComVisibleAttribute(False)> _
Public Shared Function EscapeString ( _
    value As String _
) As String
'Utilisation
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

Paramètres

Valeur de retour

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