Deploys the repository defined in the deployment configuration file

Namespace:  Novalys.VisualGuard.Security.Deployment.Actions
Assembly:  vg_deployment (in vg_deployment.exe) Version: 3.2.912.1 (3.2.912.01)

Syntax

C#
public void Execute(
	VGRepositoryDeploymentOptions deploymentOption
)
Visual Basic (Declaration)
Public Sub Execute ( _
	deploymentOption As VGRepositoryDeploymentOptions _
)

Parameters

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

Implements

VGIDeploymentAction..::.Execute(VGRepositoryDeploymentOptions)

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