編輯

共用方式為


IModel.AddConnection(WorkbookConnection) Method

Definition

public:
 Microsoft::Office::Interop::Excel::WorkbookConnection ^ AddConnection(Microsoft::Office::Interop::Excel::WorkbookConnection ^ ConnectionToDataSource);
public Microsoft.Office.Interop.Excel.WorkbookConnection AddConnection (Microsoft.Office.Interop.Excel.WorkbookConnection ConnectionToDataSource);
Public Function AddConnection (ConnectionToDataSource As WorkbookConnection) As WorkbookConnection

Parameters

ConnectionToDataSource
WorkbookConnection

Returns

Applies to