Method CreateFromConnectionFile
CreateFromConnectionFile(String, String, Boolean)
Initializes a new instance of the Enterprise
Declaration
public static EnterpriseGeodatabaseWorkspace CreateFromConnectionFile(string id, string connectionFile, bool lockVersion = true)
Parameters
Type | Name | Description |
---|---|---|
System. |
id | the id of the workspace. |
System. |
connectionFile | the path to an ArcSDE connection file. |
Boolean | lockVersion | value indicating whether the version specified in the |
Returns
Type | Description |
---|---|
Enterprise |
A new instance of the Enterprise |
Exceptions
Type | Condition |
---|---|
System. |
|
System. |
|
Applies to
Platforms and versions
Target | Versions |
---|---|
.NET 6.0 Windows | 100.13 - 100.15 |
.NET Framework | 100.1 - 100.15 |
.NET 5 | 100.10 - 100.12 |
.NET Core 3.1 | 100.7 - 100.12 |