Import.GetApplication Method (IImportDetails, TimeSpan)¶
Returns the Application object resulting from the import defined by details.
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 GetApplication(
IImportDetails details,
TimeSpan timeout
)
VB¶
Public Function GetApplication (
details As IImportDetails,
timeout As TimeSpan
) As Application
Parameters¶
- details
- Type: Citrix.SDK.AppDNA.IImportDetails
This must be one of the objects that was passed to the initiating Application.Import function and is used as a key to find the respective imported application. - timeout
- Type: System.TimeSpan
The maximum time to wait for any server side processing to complete and the Application object to be considered as imported.
Return Value¶
Type: Application
The specified application. Throws an exception if the application import failed or was cancelled. Throws an exception if timeout elapses. Use GetLogFilePath(IImportDetails) to view the details of the failure.
Remarks¶
This function cannot be called until IsFinished is true
.
See Also¶
Reference¶
Import Class
GetApplication Overload
Citrix.SDK.AppDNA Namespace