TechNet
Export (0) Print
Expand All

ServerRole.AddMember Method (String)

 

Adds a login to the fixed server role membership.

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

public void AddMember(
	string memberName
)

Parameters

memberName
Type: System.String

A String value that specifies the login that is to be added to the fixed server role membership.

Return to top
Show:
© 2016 Microsoft