Share via


PivotCache.CommandText Property

Returns or sets the command string for the specified data source.

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

Syntax

'Declaration
Property CommandText As Object
    Get
    Set
'Usage
Dim instance As PivotCache
Dim value As Object

value = instance.CommandText

instance.CommandText = value
Object CommandText { get; set; }

Property Value

Type: System.Object

Remarks

For OLE DB sources, the CommandType property describes the value type of the CommandText property.

See Also

Reference

PivotCache Interface

PivotCache Members

Microsoft.Office.Interop.Excel Namespace