The SynonymEvents object represents the settings required for Microsoft SQL Server™ synonym event notification.
The following tables list the members exposed by the SynonymEvents type.
Public Methods
(see also Protected Methods )
| 名称 | Description | |
|---|---|---|
![]()  | 
Equals | Overloaded. (inherited from Object ) | 
![]()  | 
GetEventSelection | Returns the currently selected event notifications. | 
![]()  | 
GetHashCode | (inherited from Object ) | 
![]()  | 
GetType | (inherited from Object ) | 
![]() ![]()  | 
ReferenceEquals | (inherited from Object ) | 
![]()  | 
StartEvents | Starts receiving events. | 
![]()  | 
StopEvents | Stops receiving events. | 
![]()  | 
SubscribeToEvents | Overloaded. Specifies the synonym events to receive. | 
![]()  | 
ToString | (inherited from Object ) | 
![]()  | 
UnsubscribeAllEvents | Clears all event settings, and removes all event handlers. | 
![]()  | 
UnsubscribeFromEvents | Clears the specified event settings, and removes all event handlers. | 
顶部
Protected Methods
| 名称 | Description | |
|---|---|---|
![]()  | 
Finalize | (inherited from Object ) | 
![]()  | 
MemberwiseClone | (inherited from Object ) | 
顶部
Public Events
| 名称 | Description | |
|---|---|---|
![]()  | 
ServerEvent | Specifies the event raised when an event occurs in Synonym object and the user has subscribed to the events from that object instance. | 
顶部
请参阅
参考
SynonymEvents Class
Microsoft.SqlServer.Management.Smo Namespace
.gif)
.gif)
.gif)
.gif)