|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.esri.arcgis.interop.Dispatch com.esri.arcgis.geodatabase.IDatabaseConnectionInfoProxy com.esri.arcgis.geodatabase.IDatabaseConnectionInfo2Proxy
public class IDatabaseConnectionInfo2Proxy
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.
Field Summary | |
---|---|
boolean |
noncastable
|
Fields inherited from class com.esri.arcgis.interop.Dispatch |
---|
DISPATCH_METHOD, DISPATCH_PROPERTYGET, DISPATCH_PROPERTYPUT, DISPATCH_PROPERTYPUTREF, objRef |
Constructor Summary | |
---|---|
|
IDatabaseConnectionInfo2Proxy()
|
|
IDatabaseConnectionInfo2Proxy(Object obj)
|
protected |
IDatabaseConnectionInfo2Proxy(Object obj,
String iid)
|
Method Summary | |
---|---|
void |
addListener(String iidStr,
Object theListener,
Object theSource)
|
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. |
void |
removeListener(String iidStr,
Object theListener)
|
Methods inherited from class com.esri.arcgis.geodatabase.IDatabaseConnectionInfoProxy |
---|
getConnectedDatabase, getConnectedUser |
Methods inherited from class com.esri.arcgis.interop.Dispatch |
---|
bindUsingMoniker, constructVtblPosTable, convertToNative, cookieForListener, createDispatch, createObjrefMonikerDisplayName, equals, getActiveObject, getActiveObject, getDefaultProperty, getDispatchIdOfName, getLastErrorCode, getMtsObjectContext, getObjRef, getPropertyByName, getPropertyByName, getVtblPos, hashCode, initDispatch, invoke, invokeMethodByName, invokeMethodByName, invokeMethodByName, invokePropertyGetByName, invokePropertyPutByName, invokePropertyPutByRefByName, isNativeMode, isObjRef, optimizedVtblInvoke, queryInterface, readExternal, release, setNativeMode, setPropertyByName, toString, vtblInvoke, writeExternal |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface com.esri.arcgis.geodatabase.IDatabaseConnectionInfo |
---|
getConnectedDatabase, getConnectedUser |
Field Detail |
---|
public boolean noncastable
Constructor Detail |
---|
public IDatabaseConnectionInfo2Proxy()
public IDatabaseConnectionInfo2Proxy(Object obj) throws IOException
IOException
protected IDatabaseConnectionInfo2Proxy(Object obj, String iid) throws IOException
IOException
Method Detail |
---|
public void addListener(String iidStr, Object theListener, Object theSource) throws IOException
addListener
in class IDatabaseConnectionInfoProxy
IOException
public void removeListener(String iidStr, Object theListener) throws IOException
removeListener
in class IDatabaseConnectionInfoProxy
IOException
public 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.
getConnectionDBMS
in interface IDatabaseConnectionInfo2
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public Object getConnectionCurrentDateTime() throws IOException, AutomationException
getConnectionCurrentDateTime
in interface IDatabaseConnectionInfo2
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int getGeodatabaseServerClass() throws IOException, AutomationException
getGeodatabaseServerClass
in interface IDatabaseConnectionInfo2
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public String getConnectionServer() throws IOException, AutomationException
getConnectionServer
in interface IDatabaseConnectionInfo2
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 |