Перечисление DatabaseEventType

The DatabaseEventType enumeration is a list of constant values that specify the database event type.

Пространство имен:  Microsoft.SqlServer.Management.Smo
Сборка:  Microsoft.SqlServer.Smo (в Microsoft.SqlServer.Smo.dll)

Синтаксис

'Декларация
Public Enumeration DatabaseEventType
'Применение
Dim instance As DatabaseEventType
public enum DatabaseEventType
public enum class DatabaseEventType
type DatabaseEventType
public enum DatabaseEventType

Элементы

Имя элемента Описание
Attach The type of event that occurs when a database is attached.
Detach The type of event that occurs when a database is detached.
Restore The type of event that occurs when a database is restored.
Offline The type of event that occurs when a database goes offline.
Online The type of event that occurs when a database goes online.
Backup The type of event that occurs when a database is backed up.

Замечания

The DatabaseEventType enumeration class is served by the DatabaseEventType property.