This topic has not yet been rated - Rate this topic

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: System.String
A String value that specifies the name of the role.
Did you find this helpful?
(1500 characters remaining)

Community Additions

ADD
© 2013 Microsoft. All rights reserved.