Export (0) Print
Expand All

ApplicationRole Constructor

 

Applies To: SQL Server 2016 Preview

Initializes a new instance of the ApplicationRole class.

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

NameDescription
System_CAPS_pubmethodApplicationRole()

Initializes a new instance of the ApplicationRole class.

System_CAPS_pubmethodApplicationRole(Database, String)

Initializes a new instance of the ApplicationRole class.

Return to top

ApplicationRole Constructor ()

Initializes a new instance of the ApplicationRole class.

public ApplicationRole()

The default constructor initializes any fields to their default values.

Return to top

ApplicationRole Constructor (Database, String)

Initializes a new instance of the ApplicationRole class.

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
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2015 Microsoft