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