다음을 통해 공유


Import 메서드 (String, String, String)

Loads the database master key from the file that is located at the specified system path by using the specified passwords to decrypt and encrypt the master key.

네임스페이스:  Microsoft.SqlServer.Management.Smo
어셈블리:  Microsoft.SqlServer.Smo.dll의 Microsoft.SqlServer.Smo

구문

‘선언
Public Sub Import ( _
    path As String, _
    decryptionPassword As String, _
    encryptionPassword As String _
)
‘사용 방법
Dim instance As MasterKey
Dim path As String
Dim decryptionPassword As String
Dim encryptionPassword As String

instance.Import(path, decryptionPassword, _
    encryptionPassword)
public void Import(
    string path,
    string decryptionPassword,
    string encryptionPassword
)
public:
void Import(
    String^ path, 
    String^ decryptionPassword, 
    String^ encryptionPassword
)
member Import : 
        path:string * 
        decryptionPassword:string * 
        encryptionPassword:string -> unit 
public function Import(
    path : String, 
    decryptionPassword : String, 
    encryptionPassword : String
)

매개 변수