Export (0) Print
Expand All

Login.AddToRole Method

Adds the login account to a SQL Server role.

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

public void AddToRole(
	string role
)

Parameters

role
Type: String
A String value that specifies the name of the role.
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft