Export (0) Print
Expand All

DatabaseEventType Enumeration

 

Applies To: SQL Server 2016 Preview

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 Enumeration DatabaseEventType

Member nameDescription
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.

The DatabaseEventType enumeration class is served by the DatabaseEventType property.

Return to top
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

Show:
© 2015 Microsoft