Changes the password for this login. Note that because the password is encrypted, there is no way to read it from server.
Login.SetPassword (
[OldPassword :=] idOldPassword,
[NewPassword :=] idNewPassword )
HRESULT pLogin->SetPassword (
SQLOLE_LPCSTR idOldPassword,
SQLOLE_LPCSTR idNewPassword );
| Element | Type | Description |
|---|
| idOldPassword | Identifier | Old password |
| idNewPassword | Identifier | New password |
sp_password