Dela via


DatabaseEventArgs.DatabaseEventType Property

Gets the type of database event.

Namespace:  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

Syntax

'Declaration
Public ReadOnly Property DatabaseEventType As DatabaseEventType
    Get
'Usage
Dim instance As DatabaseEventArgs
Dim value As DatabaseEventType

value = instance.DatabaseEventType
public DatabaseEventType DatabaseEventType { get; }
public:
property DatabaseEventType DatabaseEventType {
    DatabaseEventType get ();
}
member DatabaseEventType : DatabaseEventType
function get DatabaseEventType () : DatabaseEventType

Property Value

Type: Microsoft.SqlServer.Management.Smo.DatabaseEventType
A DatabaseEventType object value that specifies the type of database event.