public void SetDataConnection( CIMDataConnection dataConnection, bool validateConnection )
Public Sub SetDataConnection( _ ByVal dataConnection As CIMDataConnection, _ Optional ByVal validateConnection As Boolean _ )
Parameters
- dataConnection
- A CIM data connection value object.
- validateConnection
- true to make sure dataset exists and of valid data type before replacing the data source e.g. you cannot change a FeatureLayer's data source to a Raster Dataset.
-or-
false to indicate no validation required. It might not already exist. This can be useful for scenarios that require data sources to be updated ahead of the data being created. Note, in these cases, the data would appear broken in the map.