Partilhar via


CommandBehavior Enumeration

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

Namespace: Microsoft.ReportingServices.DataProcessing
Assembly: Microsoft.ReportingServices.Interfaces (in microsoft.reportingservices.interfaces.dll)

Syntax

'Declaration
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.

Remarks

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.

Platforms

Development Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server 2005.

Target Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server 2005.

See Also

Reference

Microsoft.ReportingServices.DataProcessing Namespace