SchemaEvents Members

The SchemaEvents object represents the settings required for Microsoft SQL Server schema event notification.

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

Public Methods

(see also Protected Methods )

  名称 Description
ms220177.pubmethod(zh-cn,SQL.90).gif Equals  Overloaded. (inherited from Object )
ms220177.pubmethod(zh-cn,SQL.90).gif GetEventSelection Returns a set of currently subscribed event notifications.
ms220177.pubmethod(zh-cn,SQL.90).gif GetHashCode  (inherited from Object )
ms220177.pubmethod(zh-cn,SQL.90).gif GetType  (inherited from Object )
ms220177.pubmethod(zh-cn,SQL.90).gifms220177.static(zh-cn,SQL.90).gif ReferenceEquals  (inherited from Object )
ms220177.pubmethod(zh-cn,SQL.90).gif StartEvents Starts receiving events.
ms220177.pubmethod(zh-cn,SQL.90).gif StopEvents Stops receiving events.
ms220177.pubmethod(zh-cn,SQL.90).gif SubscribeToEvents Overloaded. Specifies the object events to receive.
ms220177.pubmethod(zh-cn,SQL.90).gif ToString  (inherited from Object )
ms220177.pubmethod(zh-cn,SQL.90).gif UnsubscribeAllEvents Clear all event settings, and removes all event handlers.
ms220177.pubmethod(zh-cn,SQL.90).gif UnsubscribeFromEvents Clears the specified event setting, and removes all event handlers.

顶部

Protected Methods

  名称 Description
ms220177.protmethod(zh-cn,SQL.90).gif Finalize  (inherited from Object )
ms220177.protmethod(zh-cn,SQL.90).gif MemberwiseClone  (inherited from Object )

顶部

Public Events

  名称 Description
ms220177.pubevent(zh-cn,SQL.90).gif ServerEvent Specifies the server event handler for schema events.

顶部

请参阅

参考

SchemaEvents Class
Microsoft.SqlServer.Management.Smo Namespace

其他资源

Handling SMO Events