共用方式為


OpenWithCertificate 方法 (String)

Opens the symmetric key with a certificate.

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

語法

'宣告
Public Sub OpenWithCertificate ( _
    certificateName As String _
)
'用途
Dim instance As SymmetricKey
Dim certificateName As String

instance.OpenWithCertificate(certificateName)
public void OpenWithCertificate(
    string certificateName
)
public:
void OpenWithCertificate(
    String^ certificateName
)
member OpenWithCertificate : 
        certificateName:string -> unit 
public function OpenWithCertificate(
    certificateName : String
)

參數

範例

使用加密