Click or drag to resize

ResourceManagementClientGetResourcesAsync Method (String, CancellationTokenSource)

Uses the specified XPath filter to find matching objects in the resource management service, retrieving all results asynchronously on a separate thread, using the default page size WARNING: Due to the way that the resource management client processes unconstrained XPath queries, this function can cause excessive load on the underlying database. If the object type or attributes are known, use the overload of this function that supports specifying the attributes to get

Namespace:  Lithnet.ResourceManagement.Client
Assembly:  Lithnet.ResourceManagement.Client (in Lithnet.ResourceManagement.Client.dll) Version: 1.0.6435.24467
Syntax
public ISearchResultCollection GetResourcesAsync(
	string filter,
	CancellationTokenSource cancellationToken
)

Parameters

filter
Type: SystemString
The XPath filter defining the search criteria
cancellationToken
Type: System.ThreadingCancellationTokenSource
A cancellation object that can be used to terminate the search

Return Value

Type: ISearchResultCollection
A collection of matching resource objects
See Also