Partager via


Propriété User.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.

Exemples

Gestion des utilisateurs, rôles et connexions

Voir aussi

Référence

User Classe

Espace de noms Microsoft.SqlServer.Management.Smo

Autres ressources

Principaux (moteur de base de données)

CREATE USER (Transact-SQL)