Table of Contents

Method GetProtocolsToInstall

Namespace
Skyline.AppInstaller.ContentParser
Assembly
Skyline.DataMiner.Core.AppPackageInstaller.dll

GetProtocolsToInstall()

Returns all Protocols to be installed found at the default location in the AppContent folder. The structure for a protocol to install is as follows:

     Protocols
     └───[FolderWithProtocolName]
         └───[VisioFile].vsdx
         └───[FolderWithVersionName]
                 protocol.xml
                 Template_[alarmTemplate].xml
                 Trending_[trendTemplate].xml
         |___Information_[trendTemplate].xml
     </p>

Note that this will not install production protocols. Production versions can be set with SetAsProduction(string, string, bool) after importing the protocols.

public List<ParsedProtocol> GetProtocolsToInstall()

Returns

List<ParsedProtocol>

A ParsedProtocol list, found at the default location in the AppContent folder.