ServiceMasterKey.ChangeAccount 메서드

Encrypts the service master key with the new, specified credentials.

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

구문

‘선언
Public Sub ChangeAccount ( _
    newAccount As String, _
    newPassword As String _
)
‘사용 방법
Dim instance As ServiceMasterKey 
Dim newAccount As String 
Dim newPassword As String

instance.ChangeAccount(newAccount, newPassword)
public void ChangeAccount(
    string newAccount,
    string newPassword
)
public:
void ChangeAccount(
    String^ newAccount, 
    String^ newPassword
)
member ChangeAccount : 
        newAccount:string * 
        newPassword:string -> unit
public function ChangeAccount(
    newAccount : String, 
    newPassword : String
)

매개 변수

  • newAccount
    유형: System.String
    A String value that specifies the account with which to open the service master key.
  • newPassword
    유형: System.String
    A String value that specifies the associated password for the account which is used to open the service master key.

암호화 사용

참고 항목

참조

ServiceMasterKey 클래스

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

관련 자료

암호화 계층

ALTER SERVICE MASTER KEY(Transact-SQL)