Skip to content

ApplicationService.Import Method (String, IEnumerable(String), ApplicationImportConfiguration, String)

Imports an Application object directly from the source file.

Namespace: Citrix.SDK.AppDNA
Assembly: Citrix.SDK.AppDNA (in Citrix.SDK.AppDNA.dll) Version: 7.11.0.0 (7.11.0.0)

Syntax

C

public Application Import(
    string filePath,
    IEnumerable<string> transforms,
    ApplicationImportConfiguration config,
    out string logFile
)

VB

Public Function Import ( 
    filePath As String,
    transforms As IEnumerable(Of String),
    config As ApplicationImportConfiguration,
    <OutAttribute> ByRef logFile As String
) As Application

Parameters

 

filePath
Type: System.String
The full path to the file to import.
transforms
Type: System.Collections.Generic.IEnumerable(String)
A collection of full paths to transform files to apply to the msi specified by fileName. The transforms are applied in the order they are enumerated.
config
Type: Citrix.SDK.AppDNA.ApplicationImportConfiguration
The configuration details to be used by this import.
logFile
Type: System.String
On return, this specifies the full path to a log file that contains the details of the import. Useful for troubleshooting. Even if this function throws an exception, if logFile is non-null, then it may contain useful information for troubleshooting the failure.

Return Value

Type: Application
The imported application.

See Also

Reference

ApplicationService Class
Import Overload
Citrix.SDK.AppDNA Namespace

Was this article helpful?