Method CreateFromConnectionString
CreateFromConnectionString(String, String, Boolean)
Initializes a new instance of the EnterpriseGeodatabaseWorkspace class with specified connection string.
Declaration
public static EnterpriseGeodatabaseWorkspace CreateFromConnectionString(string id, string connectionString, bool lockVersion = true)
Parameters
Type | Name | Description |
---|---|---|
System.String | id | the id of the workspace. |
System.String | connectionString | the connection string. |
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 |