Event Members

Represents a single event.

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

Public Constructors

  名称 Description
Event Overloaded. Creates an instance of the Event class.

顶部

Public Properties

  名称 Description
ms149639.pubproperty(zh-cn,SQL.90).gif EventClassName Gets and sets the event class name associated with this event.
ms149639.pubproperty(zh-cn,SQL.90).gif FieldCount Gets the number of developer-defined event fields for this event.
ms149639.pubproperty(zh-cn,SQL.90).gif Item Overloaded.  

顶部

Public Methods

(see also Protected Methods )

  名称 Description
ms149639.pubmethod(zh-cn,SQL.90).gif Equals  Overloaded. (inherited from Object )
ms149639.pubmethod(zh-cn,SQL.90).gif GetFieldName Gets the name of a field in the event record.
ms149639.pubmethod(zh-cn,SQL.90).gif GetFieldOrdinal Returns the zero-based ordinal of a field in the event record.
ms149639.pubmethod(zh-cn,SQL.90).gif GetFieldValue Returns the value of a field in the event record.
ms149639.pubmethod(zh-cn,SQL.90).gif GetHashCode  (inherited from Object )
ms149639.pubmethod(zh-cn,SQL.90).gif GetType  (inherited from Object )
ms149639.pubmethod(zh-cn,SQL.90).gif Initialize Initializes an object of the Event class.
ms149639.pubmethod(zh-cn,SQL.90).gifms149639.static(zh-cn,SQL.90).gif ReferenceEquals  (inherited from Object )
ms149639.pubmethod(zh-cn,SQL.90).gif SetFieldValue Sets the value of a field in the event record.
ms149639.pubmethod(zh-cn,SQL.90).gif ToString  (inherited from Object )

顶部

Protected Methods

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

顶部

请参阅

参考

Event Class
Microsoft.SqlServer.NotificationServices Namespace