Table of Contents

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

name string

The name of the protocol.

version string

The version of the protocol.

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.