Compartir a través de


CommandType Propiedad

Indicates or specifies how the CommandText property is interpreted (as text, a stored procedure, etc.).

Espacio de nombres:  Microsoft.ReportingServices.DataProcessing
Ensamblados:   Microsoft.ReportingServices.SharePoint.UI.WebParts (en Microsoft.ReportingServices.SharePoint.UI.WebParts.dll)
  Microsoft.ReportingServices.Interfaces (en Microsoft.ReportingServices.Interfaces.dll)

Sintaxis

'Declaración
Property CommandType As CommandType
    Get
    Set
'Uso
Dim instance As IDbCommand
Dim value As CommandType

value = instance.CommandType

instance.CommandType = value
CommandType CommandType { get; set; }
property CommandType CommandType {
    CommandType get ();
    void set (CommandType value);
}
abstract CommandType : CommandType with get, set
function get CommandType () : CommandType
function set CommandType (value : CommandType)

Valor de la propiedad

Tipo: Microsoft.ReportingServices.DataProcessing. . :: . .CommandType
One of the CommandType values. The default is Text.

Comentarios

When the CommandType property is set to StoredProcedure, set the CommandText property to the name of the stored procedure. The user may be required to use escape character syntax if the stored procedure name contains any special characters. The command will call this stored procedure when you call one of the Execute methods.