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


IRemoteDatabaseWorkspaceFactory.DeleteConnectionFile Method (ArcObjects .NET 10.7 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Geodatabase > ESRI.ArcGIS.GeoDatabase > Interfaces > IR > IRemoteDatabaseWorkspaceFactory Interface > IRemoteDatabaseWorkspaceFactory.DeleteConnectionFile Method
ArcGIS Developer Help

IRemoteDatabaseWorkspaceFactory.DeleteConnectionFile Method

Deletes the remote database workspace connection file.

[Visual Basic .NET]
Public Sub DeleteConnectionFile ( _
    ByVal PathName As String _
)
[C#]
public void DeleteConnectionFile (
    string PathName
);
[C++]
HRESULT DeleteConnectionFile(
  BSTR PathName
);
[C++]
Parameters
PathName [in]

PathName is a parameter of type BSTR

Product Availability

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

See Also

IRemoteDatabaseWorkspaceFactory Interface