deleteAssociation method

Future<void> deleteAssociation(
  1. UtilityAssociation association
)

Deletes an association from this utility network.

Deleting an association may also update the features that participate in the association.

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:

  • association — The association to delete.

Return Value: No value.

One of the following error codes may be set: