Method GetByID
- Namespace
- Skyline.DataMiner.Utils.DOM.Extensions
- Assembly
- Skyline.DataMiner.Utils.DOM.dll
GetByID(DomInstanceCrudHelperComponent, Guid)
Gets a Skyline.DataMiner.Net.Apps.DataMinerObjectModel.DomInstance by ID.
public static DomInstance GetByID(this DomInstanceCrudHelperComponent helper, Guid id)
Parameters
helper
DomInstanceCrudHelperComponentThe Skyline.DataMiner.Net.Apps.DataMinerObjectModel.DomInstanceCrudHelperComponent.
id
GuidThe ID of the Skyline.DataMiner.Net.Apps.DataMinerObjectModel.DomInstance.
Returns
- DomInstance
The Skyline.DataMiner.Net.Apps.DataMinerObjectModel.DomInstance with the specified ID, or null if not found.
Exceptions
- ArgumentNullException
helper
is null.