共用方式為


Events 屬性

Gets the events that are associated with the database user.

命名空間:  Microsoft.SqlServer.Management.Smo
組件:  Microsoft.SqlServer.Smo (在 Microsoft.SqlServer.Smo.dll 中)

語法

'宣告
Public ReadOnly Property Events As UserEvents
    Get
'用途
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

屬性值

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