com.esri.arcgis.geodatabase
Interface IEnterpriseWorkspaceFactory

All Superinterfaces:
Serializable
All Known Implementing Classes:
SdeWorkspaceFactory

public interface IEnterpriseWorkspaceFactory
extends Serializable

Provides access to members that manage enterprise workspace.

Product Availability

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


Method Summary
 IWorkspace openWithNewLicense(IPropertySet pConnectionProperties, int hWnd, String newLicensePath)
          Open the enterprise database connection with new license file.
 IWorkspace openWithNewPassword(IPropertySet connectionProperties, int hWnd, String newPassword)
          Opens the workspace specified by the connection properties.
 

Method Detail

openWithNewPassword

IWorkspace openWithNewPassword(IPropertySet connectionProperties,
                               int hWnd,
                               String newPassword)
                               throws IOException,
                                      AutomationException
Opens the workspace specified by the connection properties. Changes the connection password if it's expiring or expired.

Product Availability

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

Parameters:
connectionProperties - A reference to a com.esri.arcgis.system.IPropertySet (in)
hWnd - The hWnd (A COM typedef) (in)
newPassword - The newPassword (in)
Returns:
A reference to a com.esri.arcgis.geodatabase.IWorkspace
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

openWithNewLicense

IWorkspace openWithNewLicense(IPropertySet pConnectionProperties,
                              int hWnd,
                              String newLicensePath)
                              throws IOException,
                                     AutomationException
Open the enterprise database connection with new license file.

Product Availability

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

Parameters:
pConnectionProperties - A reference to a com.esri.arcgis.system.IPropertySet (in)
hWnd - The hWnd (A COM typedef) (in)
newLicensePath - The newLicensePath (in)
Returns:
A reference to a com.esri.arcgis.geodatabase.IWorkspace
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.