Method GetProtocol
- Namespace
- Skyline.DataMiner.Core.DataMinerSystem.Common
- Assembly
- Skyline.DataMiner.Core.DataMinerSystem.Common.dll
GetProtocol(string, string)
Retrieves the protocol with the given protocol name and version.
IDmsProtocol GetProtocol(string name, string version)
Parameters
Returns
- IDmsProtocol
An instance of the protocol.
Exceptions
- ArgumentNullException
name
is null.- ArgumentNullException
version
is null.- ArgumentException
name
is the empty string ("") or white space.- ArgumentException
version
is the empty string ("") or white space.- ProtocolNotFoundException
No protocol with the specified name and version exists in the DataMiner System.