|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IFDOToADOConnection
Provides access to members that create or connect to an ADO connection from a workspace.
IFDOToADOConnection is used to either create an ADO (ActiveX Data Objects) connection from a workspace or connect an existing ADO connection to a workspace.
IWorkspace
Method Summary | |
---|---|
void |
connect(IWorkspace pWorkspace,
Object pADOConnection)
Connects a Workspace object to an ADO connection object. |
Object |
createADOConnection(IWorkspace pWorkspace)
Creates an ADO connection from a Workspace. |
Method Detail |
---|
void connect(IWorkspace pWorkspace, Object pADOConnection) throws IOException, AutomationException
The Connect method connects a workspace object to an ADO (ActiveX Data Objects) connection object. The ADO connection object must exist BUT not be opened, before this method is called. If the ADO connection has any existing properties, they will be over-written.
pWorkspace
- A reference to a com.esri.arcgis.geodatabase.IWorkspace (in)pADOConnection
- A reference to another Object (IUnknown) (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.IWorkspace
Object createADOConnection(IWorkspace pWorkspace) throws IOException, AutomationException
The CreateADOConnection method creates an ADO (ActiveX Data Objects) connection from a workspace object. The ADO connection object should not exist before this method is called.
pWorkspace
- A reference to a com.esri.arcgis.geodatabase.IWorkspace (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.IWorkspace
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |