共用方式為


CommandBehavior Enumeration

Describes of the results of the query and its effect on the database.

命名空間: Microsoft.ReportingServices.DataProcessing
組件: Microsoft.ReportingServices.Interfaces (in microsoft.reportingservices.interfaces.dll)

語法

'宣告
Public Enumeration CommandBehavior
public enum CommandBehavior
public enum class CommandBehavior
public enum CommandBehavior
public enum CommandBehavior

Members

Member name Description
SchemaOnly The query returns column information only, and does not affect the database state.
SingleResult The query returns a single result set. Execution of the query may affect the database state.

備註

The CommandBehavior values are used by the ExecuteReader method of the IDbCommand class and any classes derived from it.

A bitwise combination of these values may be used.

平台

開發平台

如需受支援的平台清單,請參閱<安裝 SQL Server 2005 的硬體和軟體需求>。

目標平台

如需受支援的平台清單,請參閱<安裝 SQL Server 2005 的硬體和軟體需求>。

請參閱

參考

Microsoft.ReportingServices.DataProcessing Namespace