共用方式為


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
)

參數

備註

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

範例

呼叫方法