ApplicationService.GetAsync Method (ApplicationFilter, Object, Int32, Int32)¶
Returns a collection of Application objects that respects filtering and paging requirements.
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 Task<Collection<Application>> GetAsync(
ApplicationFilter filterBy,
Object filterValue,
int count,
int offset
)
VB¶
Public Function GetAsync (
filterBy As ApplicationFilter,
filterValue As Object,
count As Integer,
offset As Integer
) As Task(Of Collection(Of Application))
Parameters¶
- filterBy
- Type: Citrix.SDK.AppDNA.ApplicationFilter
Specifies the field that filterValue is compared against to filter the results. - filterValue
- Type: System.Object
Specifies a value that is used to filter the results if filterBy is not NONE. - count
- Type: System.Int32
The maximum number of Application objects to return. Use -1 to retrieve all applications that match the other parameters. - offset
- Type: System.Int32
This represents the number of results to skip.
Return Value¶
Type: Task(Collection(Application))
Returns a collection of the requested Application objects.
Remarks¶
The results are filtered, then offset is applied, then count is applied, before returning the results.
See Also¶
Reference¶
ApplicationService Class
GetAsync Overload
Citrix.SDK.AppDNA Namespace