Method GetAssetType
GetAssetType(String)
Gets the associated UtilityAssetType with specified asset type name.
Declaration
public UtilityAssetType GetAssetType(string assetTypeName)
Parameters
Type | Name | Description |
---|---|---|
System.String | assetTypeName | The name of asset type to retrieve. |
Returns
Type | Description |
---|---|
UtilityAssetType | UtilityAssetType associated with the specified asset type name; or |
Remarks
For example, a UtilityAssetGroup describing electrical transformers may contain a UtilityAssetType for a specific type of electrical transformer with a name such as "Single-phase Distribution Transformer".
Exceptions
Type | Condition |
---|---|
System.ArgumentNullException |
|
System.ArgumentException | Value of |
Applies to
Platforms and versions
Target | Versions |
---|---|
.NET Standard 2.0 | 100.6 - 200.5 |
.NET | 100.13 - 200.5 |
.NET Windows | 100.13 - 200.5 |
.NET Android | 200.0 - 200.5 |
.NET iOS | 200.0 - 200.5 |
.NET Framework | 100.6 - 200.5 |
Xamarin.Android | 100.6 - 100.15 |
Xamarin.iOS | 100.6 - 100.15 |
UWP | 100.6 - 200.5 |
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.