Partager via


Énumération DatabaseEventType

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

Espace de noms :  Microsoft.SqlServer.Management.Smo
Assembly :  Microsoft.SqlServer.Smo (en Microsoft.SqlServer.Smo.dll)

Syntaxe

'Déclaration
Public Enumeration DatabaseEventType
'Utilisation
Dim instance As DatabaseEventType
public enum DatabaseEventType
public enum class DatabaseEventType
type DatabaseEventType
public enum DatabaseEventType

Membres

Nom de membre 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.

Notes

The DatabaseEventType enumeration class is served by the DatabaseEventType property.

Voir aussi

Référence

Espace de noms Microsoft.SqlServer.Management.Smo