다음을 통해 공유


AddPasswordEncryption 메서드

Adds password encryption to the master key.

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

구문

‘선언
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
)

매개 변수

주의

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