Login.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.

示例

管理用户、角色和登录名

请参阅

参考

Login 类

Microsoft.SqlServer.Management.Smo 命名空间

其他资源

主体(数据库引擎)

CREATE LOGIN (Transact-SQL)