ModelConnection.CommandType Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.