Langage

IDbCommand.CommandType Propriété

Définition

Indique ou spécifie comment la CommandText propriété est interprétée (comme du texte, une procédure stockée, etc.).

public:
 property Microsoft::ReportingServices::DataProcessing::CommandType CommandType { Microsoft::ReportingServices::DataProcessing::CommandType get(); void set(Microsoft::ReportingServices::DataProcessing::CommandType value); };
public Microsoft.ReportingServices.DataProcessing.CommandType CommandType { get; set; }
member this.CommandType : Microsoft.ReportingServices.DataProcessing.CommandType with get, set
Public Property CommandType As CommandType

Valeur de propriété

Une des CommandType valeurs. La valeur par défaut est Text.

Remarques

Lorsque la CommandType propriété est définie StoredProceduresur , définissez la CommandText propriété sur le nom de la procédure stockée. L’utilisateur peut être tenu d’utiliser la syntaxe des caractères d’échappement si le nom de la procédure stockée contient des caractères spéciaux. La commande appellera cette procédure stockée lorsque vous appelez l’une des méthodes Exécution .

S’applique à