Condividi tramite


Enumerazione CommandBehavior

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

Spazio dei nomi:  Microsoft.ReportingServices.DataProcessing
Assembly:  Microsoft.ReportingServices.Interfaces (in Microsoft.ReportingServices.Interfaces.dll)

Sintassi

'Dichiarazione
Public Enumeration CommandBehavior
'Utilizzo
Dim instance As CommandBehavior
public enum CommandBehavior
public enum class CommandBehavior
type CommandBehavior
public enum CommandBehavior

Membri

Nome membro Descrizione
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.

Osservazioni

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.