Login.Rename Method

Renames the login account.

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

public void Rename(
	string newname
)

Parameters

newname
Type: System.String
A String value that specifies the new name of the login account.

Implements

IRenamable.Rename(String)

Community Additions

ADD
Show: