IGQIDMSInterface interface
Definition
- Namespace:
Skyline.DataMiner.Core.GQI.Extensions - Assembly:
Skyline.DataMiner.Core.GQI.Extensions.dll
Provides access to the DataMiner System (DMS).
Available from DataMiner 10.5.0 [CU18]/10.6.0 [CU6]/10.6.9 onwards.
This type can be used to inject DMS access via the constructor of a GQI extension or user-scoped GQI service when using the GQI DxM.
Methods
IConnection GetConnection()
Gets a live IConnection to the DataMiner System.
Note
GetConnection() can be called again to receive a fresh connection if the underlying SLNet connection was dropped.
Returns
A usable connection to the DataMiner System.
DMSMessage[] SendMessages(params DMSMessage[] messages)
Sends one or more DMSMessage objects to retrieve responses from the DMS.
Parameters
DMSMessage[]messages: The request messages for the DMS.
Returns
A DMSMessage array of all responses from the DMS.