Table of Contents

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 DomInstanceCrudHelperComponent

The Skyline.DataMiner.Net.Apps.DataMinerObjectModel.DomInstanceCrudHelperComponent.

id Guid

The 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.

GetByID(DomInstanceCrudHelperComponent, Guid, SelectedFields<DomInstance>)

Gets a selected subset of fields of a Skyline.DataMiner.Net.Apps.DataMinerObjectModel.DomInstance by ID.

public static PartialObject<DomInstance, DomInstanceId> GetByID(this DomInstanceCrudHelperComponent helper, Guid id, SelectedFields<DomInstance> fields)

Parameters

helper DomInstanceCrudHelperComponent

The Skyline.DataMiner.Net.Apps.DataMinerObjectModel.DomInstanceCrudHelperComponent.

id Guid

The ID of the Skyline.DataMiner.Net.Apps.DataMinerObjectModel.DomInstance.

fields SelectedFields<DomInstance>

The fields to retrieve.

Returns

PartialObject<DomInstance, DomInstanceId>

The partial Skyline.DataMiner.Net.Apps.DataMinerObjectModel.DomInstance with the specified ID, or null if not found.

Exceptions

ArgumentNullException

helper or fields is null.

Advanced search syntax