This document is archived and information here might be outdated. Recommended version. |
ArcObjects namespaces > DataSourcesOleDB > ESRI.ArcGIS.DataSourcesOleDB > Interfaces > IE > IESRIDataSourceCreate Interface > IESRIDataSourceCreate.CreateDataSource Method (ArcObjects .NET 10.4 SDK) |
Creates an OLEDB-FDO Data Source object and connects to existing Workspace.
[Visual Basic .NET] Public Function CreateDataSource ( _ ByVal pWorkspace As IWorkspace _ ) As Object
[C#] public object CreateDataSource ( IWorkspace pWorkspace );
[C++]
HRESULT CreateDataSource(
IWorkspace* pWorkspace,
LPUNKNOWN* pDataSource
);
[C++]
Parameters pWorkspace [in]
pWorkspace is a parameter of type IWorkspace pDataSource [out, retval] pDataSource is a parameter of type LPUNKNOWN