public virtual CIMDataConnection GetDataConnection()
Public Overridable Function GetDataConnection() As CIMDataConnection
Return Value
A CIM data connection object.
public virtual CIMDataConnection GetDataConnection()
Public Overridable Function GetDataConnection() As CIMDataConnection
Exception | Description |
---|---|
ArcGIS.Core.CalledOnWrongThreadException | This method or property must be called within the lambda passed to QueuedTask.Run. |
CIMStandardDataConnection dataConnection = dataConnectionLayer.GetDataConnection() as CIMStandardDataConnection;
dataConnection.WorkspaceConnectionString = newConnectionString;
dataConnectionLayer.SetDataConnection(dataConnection);
Target Platforms: Windows 11, Windows 10, Windows 8.1