다음을 통해 공유


ServerEvents Members

The ServerEvents object represents the settings required for Microsoft SQL Server server-level event notification.

The following tables list the members exposed by the ServerEvents type.

Public Methods

(see also Protected Methods )

  이름 Description
ms220182.pubmethod(ko-kr,SQL.90).gif Equals  Overloaded. (inherited from Object )
ms220182.pubmethod(ko-kr,SQL.90).gif GetEventSelection Returns the currently selected event notifications.
ms220182.pubmethod(ko-kr,SQL.90).gif GetHashCode  (inherited from Object )
ms220182.pubmethod(ko-kr,SQL.90).gif GetTraceEventSelection Returns the currently selected event notifications.
ms220182.pubmethod(ko-kr,SQL.90).gif GetType  (inherited from Object )
ms220182.pubmethod(ko-kr,SQL.90).gifms220182.static(ko-kr,SQL.90).gif ReferenceEquals  (inherited from Object )
ms220182.pubmethod(ko-kr,SQL.90).gif SetCredentials Sets the credentials required by the instance of Microsoft SQL Server.
ms220182.pubmethod(ko-kr,SQL.90).gif StartEvents Starts receiving events.
ms220182.pubmethod(ko-kr,SQL.90).gif StopEvents Stops receiving events.
ms220182.pubmethod(ko-kr,SQL.90).gif SubscribeToEvents Overloaded. Specifies the server events to receive.
ms220182.pubmethod(ko-kr,SQL.90).gif ToString  (inherited from Object )
ms220182.pubmethod(ko-kr,SQL.90).gif UnsubscribeAllEvents Clears all event settings, and removes all event handlers.
ms220182.pubmethod(ko-kr,SQL.90).gif UnsubscribeFromEvents Overloaded. Clears the specified event settings, and removes all event handlers.

위쪽

Protected Methods

  이름 Description
ms220182.protmethod(ko-kr,SQL.90).gif Finalize  (inherited from Object )
ms220182.protmethod(ko-kr,SQL.90).gif MemberwiseClone  (inherited from Object )

위쪽

Public Events

  이름 Description
ms220182.pubevent(ko-kr,SQL.90).gif ServerEvent Specifies the event raised when an event occurs in Server object and the user has subscribed to the events from that object instance.

위쪽

참고 항목

참조

ServerEvents Class
Microsoft.SqlServer.Management.Smo Namespace

관련 자료

Handling SMO Events