다음을 통해 공유


MasterKey.AddPasswordEncryption 메서드

Adds password encryption to the master key.

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

구문

‘선언
Public Sub AddPasswordEncryption ( _
    password As String _
)
‘사용 방법
Dim instance As MasterKey 
Dim password As String

instance.AddPasswordEncryption(password)
public void AddPasswordEncryption(
    string password
)
public:
void AddPasswordEncryption(
    String^ password
)
member AddPasswordEncryption : 
        password:string -> unit
public function AddPasswordEncryption(
    password : String
)

매개 변수

  • password
    유형: System.String
    A String value that specifies the password with which to encrypt and decrypt the master key.

주의

The IsEncryptedByServer property specifies whether the master key is encrypted by the service master key or by using a password.

메서드 호출

참고 항목

참조

MasterKey 클래스

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

관련 자료

암호화 계층

CREATE MASTER KEY(Transact-SQL)