Share via


PivotCache.UseLocalConnection Property

True if the LocalConnection property is used to specify the string that enables Microsoft Excel to connect to a data source. False if the connection string specified by the Connection property is used.

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

Syntax

'Declaration
Property UseLocalConnection As Boolean
    Get
    Set
'Usage
Dim instance As PivotCache
Dim value As Boolean

value = instance.UseLocalConnection

instance.UseLocalConnection = value
bool UseLocalConnection { get; set; }

Property Value

Type: System.Boolean

See Also

Reference

PivotCache Interface

PivotCache Members

Microsoft.Office.Interop.Excel Namespace