共用方式為


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-tw,SQL.90).gif EventClassName Gets and sets the event class name associated with this event.
ms149639.pubproperty(zh-tw,SQL.90).gif FieldCount Gets the number of developer-defined event fields for this event.
ms149639.pubproperty(zh-tw,SQL.90).gif Item Overloaded.  

頂端

Public Methods

(see also Protected Methods )

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

頂端

Protected Methods

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

頂端

請參閱

參考

Event Class
Microsoft.SqlServer.NotificationServices Namespace