Partilhar via


Propriedade CommandType

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

Namespace:  Microsoft.AnalysisServices.AdomdClient
Assembly:  Microsoft.AnalysisServices.AdomdClient (em Microsoft.AnalysisServices.AdomdClient.dll)

Sintaxe

'Declaração
<BrowsableAttribute(False)> _
Public Property CommandType As CommandType
    Get
    Set
'Uso
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)

Valor da propriedade

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

Implementa

IDbCommand. . :: . .CommandType

Comentários

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