IRelationshipCollection.QueryAsync(PartnerRelationshipType, IQuery) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Asynchronously queries partner relationships associated to the partner.
- Only SimpleQuery with a SimpleFieldFilter is supported.
- This query supports a Substring search of the partner. Check PartnerRelationshipSearchField for the list of supported search fields.
public System.Threading.Tasks.Task<Microsoft.Store.PartnerCenter.Models.ResourceCollection<Microsoft.Store.PartnerCenter.Models.Relationships.PartnerRelationship>> QueryAsync (Microsoft.Store.PartnerCenter.Models.Relationships.PartnerRelationshipType partnerRelationshipType, Microsoft.Store.PartnerCenter.Models.Query.IQuery query);
abstract member QueryAsync : Microsoft.Store.PartnerCenter.Models.Relationships.PartnerRelationshipType * Microsoft.Store.PartnerCenter.Models.Query.IQuery -> System.Threading.Tasks.Task<Microsoft.Store.PartnerCenter.Models.ResourceCollection<Microsoft.Store.PartnerCenter.Models.Relationships.PartnerRelationship>>
Public Function QueryAsync (partnerRelationshipType As PartnerRelationshipType, query As IQuery) As Task(Of ResourceCollection(Of PartnerRelationship))
Parameters
- partnerRelationshipType
- PartnerRelationshipType
The type of partner relationship.
- query
- IQuery
A query to apply onto partner relationships. Check QueryFactory to see how to build queries.
Returns
The partner relationships that match the given query.