ServiceMasterKey.Recover 메서드

Recovers a service master key, in case the service master key has been changed external to SQL Server.

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

구문

‘선언
Public Sub Recover ( _
    oldAccount As String, _
    oldPassword As String _
)
‘사용 방법
Dim instance As ServiceMasterKey 
Dim oldAccount As String 
Dim oldPassword As String

instance.Recover(oldAccount, oldPassword)
public void Recover(
    string oldAccount,
    string oldPassword
)
public:
void Recover(
    String^ oldAccount, 
    String^ oldPassword
)
member Recover : 
        oldAccount:string * 
        oldPassword:string -> unit
public function Recover(
    oldAccount : String, 
    oldPassword : String
)

매개 변수

  • oldAccount
    유형: System.String
    A String value that specifies the old account that was used to open the service master key.
  • oldPassword
    유형: System.String
    A String value that specifies the associated password for the account that was used to open the service master key.

암호화 사용

참고 항목

참조

ServiceMasterKey 클래스

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

관련 자료

암호화 계층

ALTER SERVICE MASTER KEY(Transact-SQL)