NT_DELETE_SERVICE (74)
Removes a service.
string serviceName = "Service A";
protocol.NotifyDataMiner(74 /*NT_DELETE_SERVICE*/ , serviceName, null);
or
uint agentId = 346;
uint serviceId = 530253;
uint[] serviceDetails = new uint[] { agentId, serviceId };
protocol.NotifyDataMiner(74 /*NT_DELETE_SERVICE*/ , serviceDetails, null);
Parameters
- serviceName (string): Name of the service to remove.
or
serviceDetails (uint[]):
- serviceDetails[0]: Agent ID of the service
- serviceDetails[1]: Service ID
Return Value
- Does not return an object.
Remarks
- From DataMiner version 8.5.7.3 (RN10032) onwards, it is possible to delete services in a cluster on a remote DMA.