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


IEnterpriseWorkspaceFactory.OpenWithNewLicense Method (ArcObjects .NET 10.6 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,
  OLE_HANDLE hWnd,
  BSTR newLicensePath
);
[C++]

Parameters ConnectionProperties [in]
ConnectionProperties is a parameter of type IPropertySet* hWnd [in]
hWnd is a parameter of type OLE_HANDLE newLicensePath [in]
newLicensePath is a parameter of type BSTR

Product Availability

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

See Also

IEnterpriseWorkspaceFactory Interface