This document is archived and information here might be outdated. Recommended version. |
ArcObjects namespaces > Geodatabase > ESRI.ArcGIS.GeoDatabase > Interfaces > IE > IEnterpriseWorkspaceFactory Interface > IEnterpriseWorkspaceFactory.OpenWithNewLicense Method (ArcObjects .NET 10.4 SDK) |
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