Share via


Propriété Events

Gets the events that are associated with the database user.

Espace de noms :  Microsoft.SqlServer.Management.Smo
Assembly :  Microsoft.SqlServer.Smo (en Microsoft.SqlServer.Smo.dll)

Syntaxe

'Déclaration
Public ReadOnly Property Events As UserEvents
    Get
'Utilisation
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

Valeur de propriété

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