XlCmdType Enumeration

Specifies the value of the CommandText property.

Namespace:  Microsoft.Office.Interop.Excel
Assembly:  Microsoft.Office.Interop.Excel (in Microsoft.Office.Interop.Excel.dll)

public enum XlCmdType

Member nameDescription
xlCmdCubeContains a cube name for an OLAP data source.
xlCmdSqlContains an SQL statement.
xlCmdTableContains a table name for accessing OLE DB data sources.
xlCmdDefaultContains command text that the OLE DB provider understands
xlCmdListContains a pointer to list data.