TechNet
Export (0) Print
Expand All

ServerRole.AddMembershipToRole Method (String)

 

Adds a role to the server role membership.

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

public void AddMembershipToRole(
	string roleName
)

Parameters

roleName
Type: System.String

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

Return to top
Show:
© 2016 Microsoft