Sdílet prostřednictvím


ServerEvent.DropDatabase Property

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

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

Syntax

'Declaration
Public Shared ReadOnly Property DropDatabase As ServerEvent
    Get
'Usage
Dim value As ServerEvent

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

Property Value

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