Login.ChangePassword Method (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 newPassword
)

Parameters

newPassword
Type: System.String

A String value that specifies the new password.

Return to top
Show: