delete 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.
Return
A Result that has no return value. One of the following error codes may be set on the returned Result: * ErrorType.CommonInvalidCall, if this method is called on a utility network schema version that does not support the association type. * ErrorType.GeodatabaseDatabaseClosed, if this method is called after the geodatabase is closed. * ErrorType.CommonInvalidArgument, when the specified collection is empty or any association includes an element that is not accessible or does not belong in this utility network.
Since
200.5.0
Parameters
A collection of UtilityAssociation to delete.
See also
(UtilityAssociation)
(UtilityAssociation)