OLEDBConnection.ADOConnection 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 an ADO connection object if the PivotTable cache is connected to an OLE DB data source. Read-only.
public:
property System::Object ^ ADOConnection { System::Object ^ get(); };
public object ADOConnection { get; }
Public ReadOnly Property ADOConnection As Object
Property Value
Object
Remarks
The ADOConnection property exposes the Microsoft Excel connection to the data provider, allowing the user to write code within the context of the same session that Excel is using.
The ADOConnection property is available only for sessions where the data source is an OLE DB data source. When there is no ADO session, the query will result in a run-time error.
The ADOConnection property can be used for any OLE DB–based cache with ADO. The ADO connection object can be used with ADO MD for finding information about OLAP cubes on which the cache is based.
Applies to
피드백
https://aka.ms/ContentUserFeedback
출시 예정: 2024년 내내 콘텐츠에 대한 피드백 메커니즘으로 GitHub 문제를 단계적으로 폐지하고 이를 새로운 피드백 시스템으로 바꿀 예정입니다. 자세한 내용은 다음을 참조하세요.다음에 대한 사용자 의견 제출 및 보기