StatementEventArgs Members

The StatementEventArgs class represents the arguments used when a statement event is raised.

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

Public Constructors

  名称 Description
StatementEventArgs Initializes a new instance of the StatementEventArgs class for the specified Transact-SQL statement at the specified time and date.

顶部

Public Properties

  名称 Description
ms218671.pubproperty(zh-cn,SQL.90).gif SqlStatement Gets the Transact-SQL statement that caused the statement event.
ms218671.pubproperty(zh-cn,SQL.90).gif TimeStamp Gets the time and date when the statement event occurred.

顶部

Public Methods

(see also Protected Methods )

  名称 Description
ms218671.pubmethod(zh-cn,SQL.90).gif Equals  Overloaded. (inherited from Object )
ms218671.pubmethod(zh-cn,SQL.90).gif GetHashCode  (inherited from Object )
ms218671.pubmethod(zh-cn,SQL.90).gif GetType  (inherited from Object )
ms218671.pubmethod(zh-cn,SQL.90).gifms218671.static(zh-cn,SQL.90).gif ReferenceEquals  (inherited from Object )
ms218671.pubmethod(zh-cn,SQL.90).gif ToString Overridden. Returns a String value that represents the StatementEventArgs object.

顶部

Protected Methods

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

顶部

请参阅

参考

StatementEventArgs Class
Microsoft.SqlServer.Management.Common Namespace

其他资源

Handling SMO Events