Aracılığıyla paylaş


StoredProcedureEvents.ServerEvent Event

Specifies the event raised when an event occurs in StoredProcedure object and the has user subscribed to the events from that object instance.

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 StoredProcedureEvents
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

StoredProcedureEvents Class

Microsoft.SqlServer.Management.Smo Namespace