ServerEventArgs.EventType Property

Gets the type of event.

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

Syntax

'Declaration
Public ReadOnly Property EventType As EventType
    Get
'Usage
Dim instance As ServerEventArgs
Dim value As EventType

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

Property Value

Type: Microsoft.SqlServer.Management.Smo.EventType
An EventType object value that specifies the type of event.