DatabaseEventType Enumeration
The DatabaseEventType enumeration is a list of constant values that specify the database event type.
Namespace: Microsoft.SqlServer.Management.Smo
Assembly: Microsoft.SqlServer.Smo (in microsoft.sqlserver.smo.dll)
Syntax
'Declaration
Public Enumeration DatabaseEventType
public enum DatabaseEventType
public enum class DatabaseEventType
public enum DatabaseEventType
public enum DatabaseEventType
Members
Member name | Description |
---|---|
Attach | The type of event that occurs when a database is attached. |
Backup | The type of event that occurs when a database is backed up. |
Detach | The type of event that occurs when a database is detached. |
Offline | The type of event that occurs when a database goes offline. |
Online | The type of event that occurs when a database goes online. |
Restore | The type of event that occurs when a database is restored. |
Remarks
The DatabaseEventType enumeration class is served by the DatabaseEventType property.
This namespace, class, or member is supported only in version 2.0 of the Microsoft .NET Framework.
Platforms
Development Platforms
For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server 2005.
Target Platforms
For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server 2005.