MasterKey.Create 메서드 (String, String, String)

Creates a master key from the specified file and that has the specified encryption and decryption passwords.

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

구문

‘선언
Public Sub Create ( _
    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.Create(path, decryptionPassword, _
    encryptionPassword)
public void Create(
    string path,
    string decryptionPassword,
    string encryptionPassword
)
public:
void Create(
    String^ path, 
    String^ decryptionPassword, 
    String^ encryptionPassword
)
member Create : 
        path:string * 
        decryptionPassword:string * 
        encryptionPassword:string -> unit
public function Create(
    path : String, 
    decryptionPassword : String, 
    encryptionPassword : String
)

매개 변수

  • path
    유형: System.String
    A String value that specifies the system path location of the file from which to load the master key.
  • decryptionPassword
    유형: System.String
    A String value that specifies the password with which to decrypt the master key.
  • encryptionPassword
    유형: System.String
    A String value that specifies the password with which to encrypt the master key.

메서드 호출

참고 항목

참조

MasterKey 클래스

Create 오버로드

Microsoft.SqlServer.Management.Smo 네임스페이스

관련 자료

암호화 계층

CREATE MASTER KEY(Transact-SQL)