Login.Events Property

Gets the events associated with the login account.

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

Syntax

'Declaration
Public ReadOnly Property Events As LoginEvents
    Get
'Usage
Dim instance As Login
Dim value As LoginEvents

value = instance.Events
public LoginEvents Events { get; }
public:
property LoginEvents^ Events {
    LoginEvents^ get ();
}
member Events : LoginEvents
function get Events () : LoginEvents

Property Value

Type: Microsoft.SqlServer.Management.Smo.LoginEvents
A LoginEvents object value that specifies the events associated with the login account.