SqlConnection::ChangePassword Method
.NET Framework (current version)
Changes the SQL Server password.
Assembly: System.Data (in System.Data.dll)
| Name | Description | |
|---|---|---|
![]() ![]() | ChangePassword(String^, SqlCredential^, SecureString^) | Changes the SQL Server password for the user indicated in the SqlCredential object. |
![]() ![]() | ChangePassword(String^, String^) | Changes the SQL Server password for the user indicated in the connection string to the supplied new password. |
Show:

