Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

CommandBehavior Enumeration

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

Namespace:  Microsoft.ReportingServices.DataProcessing
Assemblies:   Microsoft.ReportingServices.Interfaces (in Microsoft.ReportingServices.Interfaces.dll)
  Microsoft.ReportingServices.SharePoint.UI.WebParts (in Microsoft.ReportingServices.SharePoint.UI.WebParts.dll)
public enum CommandBehavior
Member nameDescription
SchemaOnlyThe query returns column information only, and does not affect the database state.
SingleResultThe 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.

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.