ApplicationRole ApplicationRole ApplicationRole Constructors

Definition

Overloads

ApplicationRole() ApplicationRole() ApplicationRole()

Initializes a new instance of the ApplicationRole class.

ApplicationRole(Database, String) ApplicationRole(Database, String)

Initializes a new instance of the ApplicationRole class.

ApplicationRole() ApplicationRole() ApplicationRole()

Initializes a new instance of the ApplicationRole class.

public:
 ApplicationRole();
public ApplicationRole ();
Public Sub New ()

Remarks

The default constructor initializes any fields to their default values.

ApplicationRole(Database, String) ApplicationRole(Database, String)

Initializes a new instance of the ApplicationRole class.

public:
 ApplicationRole(Microsoft::SqlServer::Management::Smo::Database ^ database, System::String ^ name);
public ApplicationRole (Microsoft.SqlServer.Management.Smo.Database database, string name);
Parameters
database
Database Database Database

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

name
String String String

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

Applies to