com.esri.arcgis.geodatabase
Interface IDEWorkspace

All Superinterfaces:
Serializable
All Known Subinterfaces:
IDEWorkspace2
All Known Implementing Classes:
DEDiskConnection, DEFolder, DEWorkspace

public interface IDEWorkspace
extends Serializable

Provides access to members that return information about a workspace data element.

Product Availability

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


Method Summary
 IPropertySet getConnectionProperties()
          The connection information of the database.
 String getConnectionString()
          The connection string.
 IArray getDomains()
          The list of Domains.
 String getWorkspaceFactoryProgID()
          The workspace factory prog id.
 int getWorkspaceType()
          The workspace type.
 void setConnectionPropertiesByRef(IPropertySet connectionProperties)
          The connection information of the database.
 void setConnectionString(String connection)
          The connection string.
 void setDomainsByRef(IArray domains)
          The list of Domains.
 void setWorkspaceFactoryProgID(String progID)
          The workspace factory prog id.
 void setWorkspaceType(int workspaceType)
          The workspace type.
 

Method Detail

getWorkspaceType

int getWorkspaceType()
                     throws IOException,
                            AutomationException
The workspace type.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

Returns:
A com.esri.arcgis.geodatabase.esriWorkspaceType constant
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setWorkspaceType

void setWorkspaceType(int workspaceType)
                      throws IOException,
                             AutomationException
The workspace type.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

Parameters:
workspaceType - A com.esri.arcgis.geodatabase.esriWorkspaceType constant (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getWorkspaceFactoryProgID

String getWorkspaceFactoryProgID()
                                 throws IOException,
                                        AutomationException
The workspace factory prog id.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

Returns:
The progID
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setWorkspaceFactoryProgID

void setWorkspaceFactoryProgID(String progID)
                               throws IOException,
                                      AutomationException
The workspace factory prog id.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

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

getConnectionString

String getConnectionString()
                           throws IOException,
                                  AutomationException
The connection string.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

Returns:
The connection
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setConnectionString

void setConnectionString(String connection)
                         throws IOException,
                                AutomationException
The connection string.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

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

getConnectionProperties

IPropertySet getConnectionProperties()
                                     throws IOException,
                                            AutomationException
The connection information of the database.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

Returns:
A reference to a com.esri.arcgis.system.IPropertySet
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setConnectionPropertiesByRef

void setConnectionPropertiesByRef(IPropertySet connectionProperties)
                                  throws IOException,
                                         AutomationException
The connection information of the database.

Product Availability

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

Parameters:
connectionProperties - A reference to a com.esri.arcgis.system.IPropertySet (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getDomains

IArray getDomains()
                  throws IOException,
                         AutomationException
The list of Domains.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

Returns:
A reference to a com.esri.arcgis.system.IArray
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setDomainsByRef

void setDomainsByRef(IArray domains)
                     throws IOException,
                            AutomationException
The list of Domains.

Product Availability

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

Parameters:
domains - A reference to a com.esri.arcgis.system.IArray (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.