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)