|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ISetDefaultConnectionInfo
Provides access to default connection information for a remote database (ArcSDE).
ISetDefaultConnectionInfo is an optional interface supported by the SDEWorkspaceFactory. It allows setting of default values for the user, password and version connection properties on a per server and instance basis. These default values will be used by the Open method in those cases where the caller of the method does not supply values for these properties at call time and by the OpenFromFile method in those cases where the connection file contains partial connection information.
Method Summary | |
---|---|
void |
setParameters(String server,
String instance,
String user,
String password,
String versName)
Sets ArcSDE connection property parameters. |
Method Detail |
---|
void setParameters(String server, String instance, String user, String password, String versName) throws IOException, AutomationException
server
- The server (in)instance
- The instance (in)user
- The user (in)password
- The password (in)versName
- The versName (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |