다음을 통해 공유


ChangePrivateKeyPassword 메서드

Modifies the private key password that is used to secure the private key for the certificate.

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

구문

‘선언
Public Sub ChangePrivateKeyPassword ( _
    oldPassword As String, _
    newPassword As String _
)
‘사용 방법
Dim instance As Certificate
Dim oldPassword As String
Dim newPassword As String

instance.ChangePrivateKeyPassword(oldPassword, _
    newPassword)
public void ChangePrivateKeyPassword(
    string oldPassword,
    string newPassword
)
public:
void ChangePrivateKeyPassword(
    String^ oldPassword, 
    String^ newPassword
)
member ChangePrivateKeyPassword : 
        oldPassword:string * 
        newPassword:string -> unit 
public function ChangePrivateKeyPassword(
    oldPassword : String, 
    newPassword : String
)

매개 변수