ArcObjects Library Reference  (Schematic)    

INgProjectBuilder.DeleteDataSources Method

Deletes all the data sources associated with the project.

[Visual Basic 6.0]
Sub DeleteDataSources As Empty
[Visual Basic .NET]
Public Sub DeleteDataSources ( _
)
[C#]
public void DeleteDataSources (
);
[Java]
public void deleteDataSources (
)
throws
    IOException,
    AutomationException
[C++]
HRESULT DeleteDataSources(
void
);

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server. Requires Schematics Extension.
[Visual Basic 6.0]

Here is a sample call of the DeleteDataSources method:

Private m_ngProjectBuilder As esriSchematic.INgProjectBuilder
...
m_ngProjectBuilder.DeleteDataSources

See Also

INgProjectBuilder Interface | INgProject.AddDataSource Method | INgProjectBuilder.ReplaceDataSource Method

 


Feedback Send feedback on this page