Aracılığıyla paylaş


ViewEvents.ServerEvent Event

Specifies the server event handler for view events.

Namespace:  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

Syntax

'Bildirim
Public Event ServerEvent As ServerEventHandler
'Kullanım
Dim instance As ViewEvents
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 supports the use of events, but not the declaration of new ones.

Examples

Handling SMO Events

See Also

Reference

ViewEvents Class

Microsoft.SqlServer.Management.Smo Namespace