ServerRole.Events 属性

Gets the ServerRoleEvents object associated with this Server Role.

命名空间:  Microsoft.SqlServer.Management.Smo
程序集:  Microsoft.SqlServer.Smo(在 Microsoft.SqlServer.Smo.dll 中)

语法

声明
Public ReadOnly Property Events As ServerRoleEvents 
    Get
用法
Dim instance As ServerRole 
Dim value As ServerRoleEvents 

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

属性值

类型:Microsoft.SqlServer.Management.Smo.ServerRoleEvents
The ServerRoleEvents object associated with this Server Role.

请参阅

参考

ServerRole 类

Microsoft.SqlServer.Management.Smo 命名空间