This document is archived and information here might be outdated.  Recommended version.


IESRIDataSourceCreate.CreateDataSource Method (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > DataSourcesOLEDB > ESRI.ArcGIS.DataSourcesOleDB > Interfaces > IE > IESRIDataSourceCreate Interface > IESRIDataSourceCreate.CreateDataSource Method
ArcGIS Developer Help

IESRIDataSourceCreate.CreateDataSource Method

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
);
[C++]
Parameters
pWorkspace [in]

pWorkspace is a parameter of type IWorkspace*

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

See Also

IESRIDataSourceCreate Interface