다음을 통해 공유


ServerEvent 이벤트

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

네임스페이스:  Microsoft.SqlServer.Management.Smo.Broker
어셈블리:  Microsoft.SqlServer.Smo.dll의 Microsoft.SqlServer.Smo

구문

‘선언
Public Event ServerEvent As ServerEventHandler
‘사용 방법
Dim instance As ServiceRouteEvents
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는 이벤트 사용을 지원하지만 새로운 이벤트 선언은 지원하지 않습니다.