Deploys the repository defined in the deployment configuration file

Namespace: Novalys.VisualGuard.Security.Deployment.Actions
Assembly: Novalys.VisualGuard.Security (in Novalys.VisualGuard.Security.dll) Version: 2016.0.105.16 (2016.0.105.16)

Syntax

C#
public void Import(
	VGDeploymentImport deploymentOption
)
Visual Basic
Public Sub Import ( 
	deploymentOption As VGDeploymentImport
)

Parameters

deploymentOption
Type: Novalys.VisualGuard.Security.Deployment..::..VGDeploymentImport
A [!:VGRepositoryDeploymentOptions] object that defines the deployment options.

Exceptions

ExceptionCondition
System..::..ArgumentNullExceptiondeploymentOption is null (Nothing in VB.Net).
System..::..InvalidOperationExceptionThe method Init(KeyValueConfigurationCollection) must be called before calling this method.

- or -

The Overwrite option is set to Never and the target already contains an application with the same id.

- or -

The Overwrite option is set to VersionIsEqual and the target contains a repository with the same id and a version different from the application to deploy.

- or -

The Overwrite option is set to VersionIsEqualOrNewer and the target contains a repository with the same id and a version newer than the version of the application to deploy.

- or -

The Overwrite option is set to VersionIsNewer and the target contains a repository with the same id and a version equal to or newer than the version of the application to deploy.

- or -

The license of he target repository is expired or do not allow this version of Visual Guard.

See Also