Evento ApplicationRoleEvents.ServerEvent
Specifies the event raised when an event occurs in ApplicationRole object and the user subscribed to the events from that object instance.
Espacio de nombres: Microsoft.SqlServer.Management.Smo
Ensamblado: Microsoft.SqlServer.Smo (en Microsoft.SqlServer.Smo.dll)
Sintaxis
'Declaración
Public Event ServerEvent As ServerEventHandler
'Uso
Dim instance As ApplicationRoleEvents
Dim handler As ServerEventHandler
AddHandler instance.ServerEvent, handler
public event ServerEventHandler ServerEvent
public:
event ServerEventHandler^ ServerEvent {
void add (ServerEventHandler^ value);
void remove (ServerEventHandler^ value);
}
member ServerEvent : IEvent<ServerEventHandler,
ServerEventArgs>
JScript admite el uso de eventos, pero no la declaración de otros nuevos.