Method DeleteAssociationAsync
DeleteAssociationAsync(UtilityAssociation)
Deletes an association from this utility network.
Declaration
public Task DeleteAssociationAsync(UtilityAssociation association)
Parameters
Type | Name | Description |
---|---|---|
UtilityAssociation | association | The association 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 an association may also update the features that participate in the association.
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 |
.NET | 200.5 |
.NET Windows | 200.5 |
.NET Android | 200.5 |
.NET iOS | 200.5 |
.NET Framework | 200.5 |
UWP | 200.5 |