Share via


DatabasePermission.CreateRole Property

Gets a permission that can be included in the database permission set.

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

Syntax

'Declaration
Public Shared ReadOnly Property CreateRole As DatabasePermission
    Get
'Usage
Dim value As DatabasePermission

value = DatabasePermission.CreateRole
public static DatabasePermission CreateRole { get; }
public:
static property DatabasePermission^ CreateRole {
    DatabasePermission^ get ();
}
static member CreateRole : DatabasePermission
static function get CreateRole () : DatabasePermission

Property Value

Type: Microsoft.SqlServer.Management.Smo.DatabasePermission
A DatabasePermission object that represents the CreateRole permission that can be included in the database permission set.