MasterKey.DropPasswordEncryption 方法

Removes the password encryption from the master key by using the associated password.

命名空间:  Microsoft.SqlServer.Management.Smo
程序集:  Microsoft.SqlServer.Smo(在 Microsoft.SqlServer.Smo.dll 中)

语法

声明
Public Sub DropPasswordEncryption ( _
    password As String _
)
用法
Dim instance As MasterKey 
Dim password As String

instance.DropPasswordEncryption(password)
public void DropPasswordEncryption(
    string password
)
public:
void DropPasswordEncryption(
    String^ password
)
member DropPasswordEncryption : 
        password:string -> unit
public function DropPasswordEncryption(
    password : String
)

参数

  • password
    类型:System.String
    A String value that specifies the password with which to encrypt and decrypt the master key.

注释

The IsEncryptedByServer property specifies whether the master key is encrypted by the service master key or by using a password.

示例

调用方法

请参阅

参考

MasterKey 类

Microsoft.SqlServer.Management.Smo 命名空间

其他资源

加密层次结构

CREATE MASTER KEY (Transact-SQL)