Udostępnij za pośrednictwem


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.

Remarks

This namespace, class, or member is supported only in version 2.0 of the Microsoft .NET Framework.

Overload List

Name 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.

See Also

Reference

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

Other Resources

Encryption Hierarchy
CREATE MASTER KEY (Transact-SQL)