Export (0) Print
Expand All

Login.ChangePassword Method (String, String)

Changes the password for the login account.

Namespace:  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

public void ChangePassword(
	string oldPassword,
	string newPassword
)

Parameters

oldPassword
Type: String
A String value that specifies the old, existing password.
newPassword
Type: String
A String value that specifies the new password.

Community Additions

ADD
Show:
© 2014 Microsoft