|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IDatabaseConnectionInfo2
Provides access to members that provide information about the Workspace's connected database.
Use IDatabaseConnectionInfo2 when you want to know the type of DBMS the workspace is connected to. For example, when connected to a SQLServer database ConnectionDBMS will return the enumeration value corresponding to a SQLServer database.
Method Summary | |
---|---|
Object |
getConnectionCurrentDateTime()
The current DBMS date/time. |
int |
getConnectionDBMS()
The type of DBMS this workspace is connected to. |
String |
getConnectionServer()
The server this workspace is connected to. |
int |
getGeodatabaseServerClass()
The ArcSDE server class. |
Methods inherited from interface com.esri.arcgis.geodatabase.IDatabaseConnectionInfo |
---|
getConnectedDatabase, getConnectedUser |
Method Detail |
---|
int getConnectionDBMS() throws IOException, AutomationException
Returns an enumeration value corresponding to the connected DBMS. This might be particularly useful when implementing code that must access a number of different remote database types and depending on the underlying DBMS, change the code accordingly.
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.Object getConnectionCurrentDateTime() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.int getGeodatabaseServerClass() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.String getConnectionServer() throws IOException, AutomationException
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 |