共用方式為


SfcSecureString.EscapeSquote 方法

不要直接在程式碼中參照此成員。其支援 SQL Server 基礎結構。

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

語法

'宣告
Public Shared Function EscapeSquote ( _
    value As String _
) As String
'用途
Dim value As String 
Dim returnValue As String 

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

參數

  • value
    型別:System.String
    A string that represents the Value.

傳回值

型別:System.String
A String that needs to be escaped.

請參閱

參考

SfcSecureString 類別

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