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