This topic has not yet been rated - Rate this topic

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: System.String
A String value that specifies the old, existing password.
newPassword
Type: System.String
A String value that specifies the new password.
Did you find this helpful?
(1500 characters remaining)

Community Additions

ADD
© 2013 Microsoft. All rights reserved.