ResourceManagementClientGetResourcesAsync Method (String, 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 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
Syntaxpublic ISearchResultCollection GetResourcesAsync(
string filter,
CultureInfo locale
)
Public Function GetResourcesAsync (
filter As String,
locale As CultureInfo
) As ISearchResultCollection
public:
ISearchResultCollection^ GetResourcesAsync(
String^ filter,
CultureInfo^ locale
)
Parameters
- filter
- Type: SystemString
The XPath filter defining the search criteria - 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