Sdílet prostřednictvím


AdomdCommand.CommandType Property

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

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

Syntax

'Declaration
<BrowsableAttribute(False)> _
Public Property CommandType As CommandType
    Get
    Set
'Usage
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)

Property Value

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

Implements

IDbCommand.CommandType

Remarks

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