共用方式為


AdomdCommand.CommandType 屬性

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

命名空間:  Microsoft.AnalysisServices.AdomdClient
組件:  Microsoft.AnalysisServices.AdomdClient (在 Microsoft.AnalysisServices.AdomdClient.dll 中)

語法

'宣告
<BrowsableAttribute(False)> _
Public Property CommandType As CommandType 
    Get 
    Set
'用途
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)

屬性值

型別:System.Data.CommandType
The System.Data.CommandType used by the AdomdCommand.

實作

IDbCommand.CommandType

備註

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

請參閱

參考

AdomdCommand 類別

Microsoft.AnalysisServices.AdomdClient 命名空間