共用方式為


SfcSecureString.SmlEscape 方法

Indicates the escape of the SML (Semantic Markup Language) to secure a string. 不要直接在程式碼中參照此成員。其支援 SQL Server 基礎結構。

命名空間:  Microsoft.SqlServer.Management.Sdk.Sfc
組件:  Microsoft.SqlServer.Management.Sdk.Sfc (在 Microsoft.SqlServer.Management.Sdk.Sfc.dll 中)

語法

'宣告
Public Shared Function SmlEscape ( _
    originalString As String _
) As String
'用途
Dim originalString As String 
Dim returnValue As String 

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

參數

  • originalString
    型別:System.String
    A string value of the original string.

傳回值

型別:System.String
A string that represents the escape of the SML.

請參閱

參考

SfcSecureString 類別

Microsoft.SqlServer.Management.Sdk.Sfc 命名空間