ChangePrivateKeyPassword Método
Modifies the private key password that is used to secure the private key for the certificate.
Espacio de nombres: Microsoft.SqlServer.Management.Smo
Ensamblado: Microsoft.SqlServer.Smo (en Microsoft.SqlServer.Smo.dll)
Sintaxis
'Declaración
Public Sub ChangePrivateKeyPassword ( _
oldPassword As String, _
newPassword As String _
)
'Uso
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
)
Parámetros
- oldPassword
Tipo: System. . :: . .String
A String value that specifies the old private key password.
- newPassword
Tipo: System. . :: . .String
A String value that specifies the new private key password.
Vea también