共用方式為


Events 屬性

Gets the events associated with the login account.

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

語法

'宣告
Public ReadOnly Property Events As LoginEvents
    Get
'用途
Dim instance As Login
Dim value As LoginEvents

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

屬性值

型別:Microsoft.SqlServer.Management.Smo. . :: . .LoginEvents
A LoginEvents object value that specifies the events associated with the login account.