Download full document:

ApplicationService.Import Method (IEnumerable(ImportSourceDetails), ApplicationImportConfiguration, Nullable(Int64), Boolean)

Imports multiple Application objects directly from source files.

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 Import Import(
    IEnumerable<ImportSourceDetails> importDetails,
    ApplicationImportConfiguration config,
    Nullable<long> applicationID,
    bool Override = false
)

VB

Public Function Import ( 
    importDetails As IEnumerable(Of ImportSourceDetails),
    config As ApplicationImportConfiguration,
    applicationID As Nullable(Of Long),
    Optional Override As Boolean = false
) As Import

Parameters

 

importDetails
Type: System.Collections.Generic.IEnumerable(ImportSourceDetails)
A collection of ImportSourceDetails objects which detail the source media to import. Each ImportSourceDetails object can be used with the returned Importer object as a key to get specific information about that file's import.
config
Type: Citrix.SDK.AppDNA.ApplicationImportConfiguration
The configuration details to be used by this import.
applicationID
Type: System.Nullable(Int64)
The application identifier to import into - applicable for Stub.
Override (Optional)
Type: System.Boolean
if set to true [override].

Return Value

Type: Import
An Import object that can be used to track the state of the import.

Exceptions

 

ExceptionCondition
ArgumentNullExceptionconfig

See Also

Reference

ApplicationService Class
Import Overload
Citrix.SDK.AppDNA Namespace