OLEDBConnection.LocalConnection 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.
Returns or sets the connection string to an offline cube file. Read/write Object.
public:
property System::Object ^ LocalConnection { System::Object ^ get(); void set(System::Object ^ value); };
public object LocalConnection { get; set; }
Public Property LocalConnection As Object
Property Value
Object
Remarks
For a non-OLAP data source, the value of the LocalConnection property is an empty string, and the UseLocalConnection property is set to False.
Setting the LocalConnection property does not immediately initiate the connection to the data source. You must first use the Refresh() method to make the connection and retrieve the data.
The value of the LocalConnection property is used if the UseLocalConnection property is set to True. If the UseLocalConnection property is set to False, the Connection property specifies the connection string for query tables based on sources other than local cube files.