GetInfo<T>(Engine, InfoTypeSingle)

Generic method, supporting multiple GetInfo calls that return a single response.

Declaration
public static T GetInfo<T>(Engine engine, InfoTypeSingle type)
Example
SLNet.GetInfo<GetLicensesResponseMessage>(engine, InfoTypeSingle.Licenses);
Result
GetLicensesResponseMessage
Type
Name
Description

T

The expected ResponseMessage that is returned by the target call.

engine

Interfaces with the DataMiner System from an Automation script.

type

The target GetInfo call.

circle-info

To determine the expected return type, simply hover over the desired GetInfo call and an IntelliSense window should display it (e.g Returns: GetDocumentsResponseMessage).

circle-info

The GetInfo calls are the same as what the client (Cube) makes when it starts as well as during operation.

circle-info

This method is intended for single responses only, for calls that return an array of responses use this method instead GetInfo(Engine, InfoTypeArray).

Last updated