TechNet
Export (0) Print
Expand All

ApplicationRole Constructor (Database, String)

 

Initializes a new instance of the ApplicationRole class.

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

public ApplicationRole(
	Database database,
	string name
)

Parameters

database
Type: Microsoft.SqlServer.Management.Smo.Database

A Database object value that specifies the database to which the application role belongs.

name
Type: System.String

A String value that specifies the name of the application role.

Return to top
Show:
© 2016 Microsoft