Sdílet prostřednictvím


SfcSecureString.XmlEscape Method

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 XmlEscape ( _
    originalString As String _
) As String
'Usage
Dim originalString As String
Dim returnValue As String

returnValue = SfcSecureString.XmlEscape(originalString)
public static string XmlEscape(
    string originalString
)
public:
static String^ XmlEscape(
    String^ originalString
)
static member XmlEscape : 
        originalString:string -> string 
public static function XmlEscape(
    originalString : String
) : String

Parameters

  • originalString
    Type: System.String
    A string that represents the original string value.

Return Value

Type: System.String
The specified Xml to escape.