com.esri.arcgis.geodatabase
Interface ISetDefaultConnectionInfo2

All Superinterfaces:
ISetDefaultConnectionInfo, Serializable
All Known Subinterfaces:
ISetDefaultConnectionInfo3
All Known Implementing Classes:
SdeWorkspaceFactory

public interface ISetDefaultConnectionInfo2
extends ISetDefaultConnectionInfo, Serializable

Provides access to default connection information for a remote database (ArcSDE).

Superseded By

ISetDefaultConnectionInfo3

Remarks

ISetDefaultConnectionInfo2 is an optional interface supported by the SDEWorkspaceFactory that extends the functionality of ISetDefaultConnectionInfo to include the ClearParameters method which clears the default connection parameters previsouly set with ISetDefaultConnectionInfo::SetParameters.

Product Availability

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


Method Summary
 void clearParameters(String server, String instance)
          Clears ArcSDE connection property parameters.
 
Methods inherited from interface com.esri.arcgis.geodatabase.ISetDefaultConnectionInfo
setParameters
 

Method Detail

clearParameters

void clearParameters(String server,
                     String instance)
                     throws IOException,
                            AutomationException
Clears ArcSDE connection property parameters.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

Parameters:
server - The server (in)
instance - The instance (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.