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 VGDeployApplicationAction(
VGApplicationOverwriteOptions overwrite,
Guid appRepositoryId,
bool grantRolesLikePreviousVersion,
VGApplicationDeploymentMode deploymentMode
) |
Visual Basic |
---|
Public Sub New (
overwrite As VGApplicationOverwriteOptions,
appRepositoryId As Guid,
grantRolesLikePreviousVersion As Boolean,
deploymentMode As VGApplicationDeploymentMode
) |
Parameters
- overwrite
- Type: VGApplicationOverwriteOptions
A VGRepositoryOverwriteOptions value specifying whether an existing repository can be overwritten.
- appRepositoryId
- Type: System..::..Guid
The repository id of the application to deploy.
- grantRolesLikePreviousVersion
- Type: System..::..Boolean
A boolean value indicating whether the roles of deployed application must be granted like the roles of previous version of this application.
- deploymentMode
- Type: VGApplicationDeploymentMode
A boolean value indicating whether all existing roles of the target repository must be kept. true if you want to keep the roles that exists in the target repository but not exists in the deployed repository, false if you want to delete all existing roles and replace them by the roles of the deployed repository.
Exceptions
Exception | Condition |
---|
[!:ArgumentExcepton] | appRepositoryId is an empty Guid. |
See Also