Partager via


CreateDatabase propriété

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

Espace de noms :  Microsoft.SqlServer.Management.Smo
Assembly :  Microsoft.SqlServer.Smo (dans Microsoft.SqlServer.Smo.dll)

Syntaxe

'Déclaration
Public Shared ReadOnly Property CreateDatabase As DatabasePermission
    Get
'Utilisation
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

Valeur de la propriété

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