OLEDBConnection.UseLocalConnection Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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. Read/write Boolean.
public:
property bool UseLocalConnection { bool get(); void set(bool value); };
public bool UseLocalConnection { get; set; }
Public Property UseLocalConnection As Boolean
Property Value
Boolean
Remarks
This example sets the connection string of the first PivotTable cache to reference an offline cube file.