This document is archived and information here might be outdated. Recommended version. |
ArcObjects Help for .NET developers > ArcObjects namespaces > DataSourcesOleDB > ESRI.ArcGIS.DataSourcesOleDB > Interfaces > IE > IESRIDataSourceCreate Interface > IESRIDataSourceCreate.CreateDataSource Method (ArcObjects .NET 10.5 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