Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All
Expand Minimize

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)

public enum DatabaseEventType

Member nameDescription
AttachThe type of event that occurs when a database is attached.
DetachThe type of event that occurs when a database is detached.
RestoreThe type of event that occurs when a database is restored.
OfflineThe type of event that occurs when a database goes offline.
OnlineThe type of event that occurs when a database goes online.
BackupThe type of event that occurs when a database is backed up.

The DatabaseEventType enumeration class is served by the DatabaseEventType property.

Community Additions

ADD
Show:
© 2015 Microsoft