共用方式為


DatabaseEventType Enumeration

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

命名空間: Microsoft.SqlServer.Management.Smo
組件: Microsoft.SqlServer.Smo (in microsoft.sqlserver.smo.dll)

語法

'宣告
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.

備註

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.

平台

開發平台

如需受支援的平台清單,請參閱<安裝 SQL Server 2005 的硬體和軟體需求>。

目標平台

如需受支援的平台清單,請參閱<安裝 SQL Server 2005 的硬體和軟體需求>。

請參閱

參考

Microsoft.SqlServer.Management.Smo Namespace