com.esri.arcgis.geodatabase
Interface ISetDefaultConnectionInfo3

All Superinterfaces:
ISetDefaultConnectionInfo, ISetDefaultConnectionInfo2, Serializable
All Known Implementing Classes:
SdeWorkspaceFactory

public interface ISetDefaultConnectionInfo3
extends ISetDefaultConnectionInfo2, Serializable

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

Remarks

ISetDefaultConnectionInfo3 is an optional interface supported by the SDEWorkspaceFactory that extends the functionality of ISetDefaultConnectionInfo and ISetDefaultConnectionInfo2. ISetDefaultConnectionInfo3 includes the ClearParameters3 method that clears the default connection parameters previsouly set with SetParameters3.

Product Availability

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


Method Summary
 void clearParameters3(String server, String instance, String authenticationMode)
          Clears ArcSDE connection property parameters.
 void setParameters3(String server, String instance, String authenticationMode, String userName, String password, String versionName, Object historicalInfo)
          Sets ArcSDE connection property parameters.
 
Methods inherited from interface com.esri.arcgis.geodatabase.ISetDefaultConnectionInfo2
clearParameters
 
Methods inherited from interface com.esri.arcgis.geodatabase.ISetDefaultConnectionInfo
setParameters
 

Method Detail

setParameters3

void setParameters3(String server,
                    String instance,
                    String authenticationMode,
                    String userName,
                    String password,
                    String versionName,
                    Object historicalInfo)
                    throws IOException,
                           AutomationException
Sets ArcSDE connection property parameters.

Remarks

The SetParameters3 method extends the functionality present in SetParameters by allowing the Authentication Mode and Historical Info to be included as default connection properties.

Product Availability

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

Parameters:
server - The server (in)
instance - The instance (in)
authenticationMode - The authenticationMode (in)
userName - The userName (in)
password - The password (in)
versionName - The versionName (in)
historicalInfo - A Variant (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

clearParameters3

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

Remarks

Clears parameters set by SetParameters3.

Product Availability

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

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