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

请参阅

参考

Microsoft.SqlServer.Management.Smo 命名空间