Deploys the repository defined in the deployment configuration file
Namespace: Novalys.VisualGuard.Security.Deployment.ActionsAssembly: 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
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. |