DatabasePermission.CreateDatabase 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 CreateDatabase As DatabasePermission 
    Get
'Usage
Dim value As DatabasePermission 

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

Property Value

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

Examples

Granting, Revoking, and Denying Permissions

See Also

Reference

DatabasePermission Class

Microsoft.SqlServer.Management.Smo Namespace

Other Resources

Permissions (Database Engine)