deleteAssociations method

Future<void> deleteAssociations(
  1. List<UtilityAssociation> associations
)

Deletes a collection of associations from this utility network.

Deleting these associations may also update the features that participate in these associations.

Use UtilityNetwork.canDeleteAssociations to determine if you can successfully delete associations.

This method requires that the association elements are accessible. Use UtilityElement.isValid to check feature accessibility to ensure it has not been filtered out.

Parameters:

Return Value: No value.

One of the following error codes may be set: