ApplicationRole Constructor (Database, String)
SQL Server 2012
Initializes a new instance of the ApplicationRole class.
Namespace: Microsoft.SqlServer.Management.Smo
Assembly: Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)
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.