Share via


Propriété DropDatabase

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

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

Syntaxe

'Déclaration
Public Shared ReadOnly Property DropDatabase As DatabaseEvent
    Get
'Utilisation
Dim value As DatabaseEvent

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

Valeur de propriété

Type : Microsoft.SqlServer.Management.Smo. . :: . .DatabaseEvent
A DatabaseEvent object that represents the DropDatabase event that can be included in the database event set.