分享方式:


IRelationshipCollection.QueryAsync(PartnerRelationshipType, IQuery) Method

Definition

Asynchronously queries partner relationships associated to the partner.

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.

Applies to