ot::NetworkData::Service::Manager::RemoveDnsSrpUnicastServiceWithAddrInServerData() method
Removes a DNS/SRP Unicast Service entry with address in Server Data from the local Thread Network Data.
Syntax
Error RemoveDnsSrpUnicastServiceWithAddrInServerData(void); Return value
kErrorNone Successfully removed the Service entry. kErrorNotFound Could not find the Service entry.