Delen via


User.Events Property

Gets the events that are associated with the database user.

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

Syntax

'Declaration
Public ReadOnly Property Events As UserEvents
    Get
'Usage
Dim instance As User
Dim value As UserEvents

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

Property Value

Type: Microsoft.SqlServer.Management.Smo.UserEvents
A UserEvents object that represents the database user events.