Partager via


Propriété CommandType

Gets or sets the System.Data..::..CommandType used by the AdomdCommand.

Espace de noms :  Microsoft.AnalysisServices.AdomdClient
Assembly :  Microsoft.AnalysisServices.AdomdClient (en Microsoft.AnalysisServices.AdomdClient.dll)

Syntaxe

'Déclaration
<BrowsableAttribute(False)> _
Public Property CommandType As CommandType
    Get
    Set
'Utilisation
Dim instance As AdomdCommand
Dim value As CommandType

value = instance.CommandType

instance.CommandType = value
[BrowsableAttribute(false)]
public CommandType CommandType { get; set; }
[BrowsableAttribute(false)]
public:
virtual property CommandType CommandType {
    CommandType get () sealed;
    void set (CommandType value) sealed;
}
[<BrowsableAttribute(false)>]
abstract CommandType : CommandType with get, set
[<BrowsableAttribute(false)>]
override CommandType : CommandType with get, set
final function get CommandType () : CommandType
final function set CommandType (value : CommandType)

Valeur de propriété

Type : System.Data. . :: . .CommandType
The System.Data..::..CommandType used by the AdomdCommand.

Implémente

IDbCommand. . :: . .CommandType

Notes

The only value supported by this property is CommandType..::..Text.