SqlConnection.ChangePassword Method

.NET Framework (current version)
 

Changes the SQL Server password.

Namespace:   System.Data.SqlClient
Assembly:  System.Data (in System.Data.dll)

NameDescription
System_CAPS_pubmethodSystem_CAPS_staticChangePassword(String, SqlCredential, SecureString)

Changes the SQL Server password for the user indicated in the SqlCredential object.

System_CAPS_pubmethodSystem_CAPS_staticChangePassword(String, String)

Changes the SQL Server password for the user indicated in the connection string to the supplied new password.

Return to top
Show: