ResourceManagementClientGetResourcesAsync Method (String, Int32, CultureInfo) |
Uses the specified XPath filter to find matching objects in the resource management service, retrieving all results asynchronously on a separate thread, using the specified 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
Syntaxpublic ISearchResultCollection GetResourcesAsync(
string filter,
int pageSize,
CultureInfo locale
)
Public Function GetResourcesAsync (
filter As String,
pageSize As Integer,
locale As CultureInfo
) As ISearchResultCollection
public:
ISearchResultCollection^ GetResourcesAsync(
String^ filter,
int pageSize,
CultureInfo^ locale
)
Parameters
- filter
- Type: SystemString
The XPath filter defining the search criteria - pageSize
- Type: SystemInt32
The number of results to request from the server at a time - locale
- Type: System.GlobalizationCultureInfo
The culture to use to request a localized version of the objects
Return Value
Type:
ISearchResultCollectionA collection of matching resource objects
See Also