Table of Contents

Method WithConnectorScript

Namespace
Skyline.AppInstaller
Assembly
Skyline.DataMiner.Core.AppPackageCreator.dll

WithConnectorScript(string, Guid)

Adds the staged content of a connector script.

public IAppPackageProtocolBuilder WithConnectorScript(string stagedScriptDirectory, Guid scriptGuid)

Parameters

stagedScriptDirectory string

The directory containing the staged connector script content.

scriptGuid Guid

The unique identifier of the connector script, matching its declaration in protocol.xml.

Returns

IAppPackageProtocolBuilder

A reference to this instance after the operation has completed.

Exceptions

ArgumentNullException

stagedScriptDirectory is null.

ArgumentException

stagedScriptDirectory is empty or white space.

DirectoryNotFoundException

The specified directory does not exist.

InvalidOperationException

A connector script with this scriptGuid has already been added.

Advanced search syntax