This document is archived and information here might be outdated.  Recommended version.


IEnterpriseWorkspaceFactory.OpenWithNewLicense Method (ArcObjects .NET 10.4 SDK)
ArcObjects Library Reference (GeoDatabase)  

IEnterpriseWorkspaceFactory.OpenWithNewLicense Method

Open the enterprise database connection with new license file.

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

Parameters ConnectionProperties [in]
ConnectionProperties is a parameter of type IPropertySet hWnd [in] hWnd is a parameter of type long newLicensePath [in] newLicensePath is a parameter of type BSTR Workspace [out, retval]
Workspace is a parameter of type IWorkspace

Product Availability

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

See Also

IEnterpriseWorkspaceFactory Interface