Deploys the repository defined in the deployment configuration file
Namespace:
Novalys.VisualGuard.Security.Deployment.ActionsAssembly: 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
| Exception | Condition |
|---|---|
| System..::.ArgumentNullException | deploymentOption is null (Nothing in VB.Net). |
| System..::.InvalidOperationException | The 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. |