Copy application data from the source repository in the deployment configuration file
Namespace:
Novalys.VisualGuard.Security.DeploymentAssembly: vg_deployment (in vg_deployment.exe) Version: 3.2.912.1 (3.2.912.01)
Syntax
| C# |
|---|
public void CopyApplicationRepositoryData( VGIRepositoryItemCacheManager source, Guid applicationId, VGApplicationOverwriteOptions overwriteOptions ) |
| Visual Basic (Declaration) |
|---|
Public Sub CopyApplicationRepositoryData ( _ source As VGIRepositoryItemCacheManager, _ applicationId As Guid, _ overwriteOptions As VGApplicationOverwriteOptions _ ) |
Parameters
- source
- Type: VGIRepositoryItemCacheManager
A VGIRepositoryItemCacheManager object representing the source repository
- applicationId
- Type: System..::.Guid
the id of the application to deploy.
- overwriteOptions
- Type: Novalys.VisualGuard.Security.Deployment..::.VGApplicationOverwriteOptions
A VGApplicationOverwriteOptions value indicating when a repository can be overwritten.
Exceptions
| Exception | Condition |
|---|---|
| System..::.InvalidOperationException | the source repository does not contains a valid repository or the deployment options are loaded from a deployment configuration file. |
| System..::.ArgumentNullException | source is null (Nothing in VB.Net) |