Method DeleteAssociationsAsync
DeleteAssociationsAsync(IEnumerable<UtilityAssociation>)
Deletes a collection of associations from this utility network.
Declaration
public Task DeleteAssociationsAsync(IEnumerable<UtilityAssociation> associations)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Collections.Generic.IEnumerable<UtilityAssociation> | associations | A collection of UtilityAssociation to delete. |
Returns
| Type | Description |
|---|---|
| System.Threading.Tasks.Task | A System.Threading.Tasks.Task that has no return value. One of the following exceptions may be set on the returned System.Threading.Tasks.Task:
|
Remarks
Deleting these associations may also update the features that participate in these associations.
Use CanDeleteAssociations() to determine if you can successfully delete associations.
This method requires that the association elements are accessible. Use IsValid to check feature accessibility to ensure it has not been filtered out.
See Also
Applies to
Platforms and versions
| Target | Versions |
|---|---|
| .NET Standard 2.0 | 200.5 - 200.8 |
| .NET | 200.5 - 200.8 |
| .NET Windows | 200.5 - 200.8 |
| .NET Android | 200.5 - 200.8 |
| .NET iOS | 200.5 - 200.8 |
| .NET Framework | 200.5 - 200.8 |
| UWP | 200.5 - 200.8 |