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)

Syntax

'Declaration
Public Enumeration XlCmdType
'Usage
Dim instance As XlCmdType
public enum XlCmdType

Members

Member name Description
xlCmdCube Contains a cube name for an OLAP data source.
xlCmdSql Contains an SQL statement.
xlCmdTable Contains a table name for accessing OLE DB data sources.
xlCmdDefault Contains command text that the OLE DB provider understands
xlCmdList Contains a pointer to list data.

See Also

Reference

Microsoft.Office.Interop.Excel Namespace