Edit

Share via


ModelConnection.CommandType Property

Definition

Returns or sets one of the XlCmdType constants. Read/Write

public:
 property Microsoft::Office::Interop::Excel::XlCmdType CommandType { Microsoft::Office::Interop::Excel::XlCmdType get(); void set(Microsoft::Office::Interop::Excel::XlCmdType value); };
public Microsoft.Office.Interop.Excel.XlCmdType CommandType { get; set; }
Public Property CommandType As XlCmdType

Property Value

Remarks

For a ModelConnection object, this type will be set to either xlCmdTable or xlCmdDAX. The isolated connection ThisWorkbookDataModel to the Data Model will be of type xlCmdCube.

Applies to