_QueryTable.QueryType Property

Indicates the type of query used by Microsoft Excel to populate the query table or PivotTable cache. Read-only XlQueryType.

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

Syntax

'Declaration
ReadOnly Property QueryType As XlQueryType
    Get
'Usage
Dim instance As _QueryTable
Dim value As XlQueryType

value = instance.QueryType
XlQueryType QueryType { get; }

Property Value

Type: Microsoft.Office.Interop.Excel.XlQueryType

Remarks

You specify the data source in the prefix for the Connection property’s value.

See Also

Reference

_QueryTable Interface

_QueryTable Members

Microsoft.Office.Interop.Excel Namespace