Remarque
L’accès à cette page nécessite une autorisation. Vous pouvez essayer de vous connecter ou de modifier des répertoires.
L’accès à cette page nécessite une autorisation. Vous pouvez essayer de modifier des répertoires.
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 )
| Nom | Description | |
|---|---|---|
![]() |
Equals | Overloaded. (inherited from Object ) |
![]() |
GetEventSelection | Returns the currently selected event notifications. |
![]() |
GetHashCode | (inherited from Object ) |
![]() |
GetTraceEventSelection | Returns the currently selected event notifications. |
![]() |
GetType | (inherited from Object ) |
![]() ![]() |
ReferenceEquals | (inherited from Object ) |
![]() |
SetCredentials | Sets the credentials required by the instance of Microsoft SQL Server. |
![]() |
StartEvents | Starts receiving events. |
![]() |
StopEvents | Stops receiving events. |
![]() |
SubscribeToEvents | Overloaded. Specifies the server events to receive. |
![]() |
ToString | (inherited from Object ) |
![]() |
UnsubscribeAllEvents | Clears all event settings, and removes all event handlers. |
![]() |
UnsubscribeFromEvents | Overloaded. Clears the specified event settings, and removes all event handlers. |
Haut de la page
Protected Methods
| Nom | Description | |
|---|---|---|
![]() |
Finalize | (inherited from Object ) |
![]() |
MemberwiseClone | (inherited from Object ) |
Haut de la page
Public Events
| Nom | Description | |
|---|---|---|
![]() |
ServerEvent | Specifies the event raised when an event occurs in Server object and the user has subscribed to the events from that object instance. |
Haut de la page
Voir aussi
Référence
ServerEvents Class
Microsoft.SqlServer.Management.Smo Namespace
.gif)
.gif)
.gif)
.gif)