MasterKey.Import Method

Loads the database master key from the file located at the specified system path by using the specified password to decrypt the master key.

備註

只有 Microsoft .NET Framework 2.0 版支援此命名空間、類別或成員。

多載清單

名稱 Description
MasterKey.Import (String, String, String)
Loads the database master key from the file located at the specified system path by using the specified passwords to decrypt and encrypt the master key.
MasterKey.Import (String, String, String, Boolean)
Loads the database master key from the file located at the specified system path by using the specified passwords to decrypt and encrypt the master key and with the option to force regeneration.

請參閱

參考

MasterKey Class
MasterKey Members
Microsoft.SqlServer.Management.Smo Namespace

其他資源

加密階層
CREATE MASTER KEY (Transact-SQL)