Show / Hide Table of Contents

Method GetAssetGroup

GetAssetGroup(String)

Gets the associated UtilityAssetGroup with specified asset group name.

Declaration
public UtilityAssetGroup GetAssetGroup(string assetGroupName)
Parameters
Type Name Description
System.String assetGroupName

Name of the asset group.

Returns
Type Description
UtilityAssetGroup

UtilityAssetGroup associated with the specified asset group name; or null if no match was found.

Remarks

Gets one of the collection of asset groups for the utility network source.

Exceptions
Type Condition
System.ArgumentNullException

assetGroupName is null.

ArgumentException

Value of assetGroupName is empty.

Applies to

Platforms and versions
TargetVersions
.NET Standard 2.0100.6 - 100.15
.NET 6.0100.13 - 100.15
.NET 6.0 Windows100.13 - 100.15
.NET Framework100.6 - 100.15
.NET 5100.10 - 100.12
.NET Core 3.1100.7 - 100.12
Xamarin.Android100.6 - 100.15
Xamarin.iOS100.6 - 100.15
UWP100.6 - 100.15
Relevant samples
Configure subnetwork trace: Get a server-defined trace configuration for a given tier and modify its traversability scope, add new condition barriers and control what is included in the subnetwork trace result.
Perform valve isolation trace: Run a filtered trace to locate operable features that will isolate an area from the flow of network resources.
In This Article
Back to top Copyright © 2022 Esri.