共用方式為


AsymmetricKey.RemovePrivateKey 方法

Removes the private key from the asymmetric key.

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

語法

'宣告
Public Sub RemovePrivateKey
'用途
Dim instance As AsymmetricKey

instance.RemovePrivateKey()
public void RemovePrivateKey()
public:
void RemovePrivateKey()
member RemovePrivateKey : unit -> unit
public function RemovePrivateKey()

範例

呼叫方法

請參閱

參考

AsymmetricKey 類別

Microsoft.SqlServer.Management.Smo 命名空間

其他資源

CREATE ASYMMETRIC KEY (Transact-SQL)