ArcObjects Library Reference (GeoDatabase)  

IEnterpriseWorkspaceFactory.OpenWithNewLicense Method

Open the enterprise database connection with new license file.

[Visual Basic .NET]
Public Function OpenWithNewLicense ( _
    ByVal pConnectionProperties As IPropertySet, _
    ByVal hWnd As Integer, _
    ByVal newLicensePath As String _
) As IWorkspace
[C#]
public IWorkspace OpenWithNewLicense (
    IPropertySet pConnectionProperties,
    int hWnd,
    string newLicensePath
);
[C++]
HRESULT OpenWithNewLicense(
  IPropertySet* pConnectionProperties,
  long hWnd,
  BSTR newLicensePath,
  IWorkspace** ppWorkspace
);
[C++]

Parameters

pConnectionProperties [in]

  pConnectionProperties is a parameter of type IPropertySet

hWnd [in]   hWnd is a parameter of type long newLicensePath [in]   newLicensePath is a parameter of type BSTR ppWorkspace [out, retval]

  ppWorkspace is a parameter of type IWorkspace

Product Availability

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

See Also

IEnterpriseWorkspaceFactory Interface