Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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.
Examples
Managing Users, Roles, and Logins
See Also
Reference
Microsoft.SqlServer.Management.Smo Namespace