ArcObjects Library Reference (DataSourcesOleDB)  

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,
  LPUNKNOWN* pDataSource
);
[C++]

Parameters

pWorkspace [in]

  pWorkspace is a parameter of type IWorkspace

pDataSource [out, retval]   pDataSource is a parameter of type LPUNKNOWN

Product Availability

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

See Also

IESRIDataSourceCreate Interface