Partager via


IRelationshipCollection.Query(PartnerRelationshipType, IQuery) Method

Definition

Queries partner relationships associated to the partner.

public Microsoft.Store.PartnerCenter.Models.ResourceCollection<Microsoft.Store.PartnerCenter.Models.Relationships.PartnerRelationship> Query (Microsoft.Store.PartnerCenter.Models.Relationships.PartnerRelationshipType partnerRelationshipType, Microsoft.Store.PartnerCenter.Models.Query.IQuery query);
abstract member Query : Microsoft.Store.PartnerCenter.Models.Relationships.PartnerRelationshipType * Microsoft.Store.PartnerCenter.Models.Query.IQuery -> Microsoft.Store.PartnerCenter.Models.ResourceCollection<Microsoft.Store.PartnerCenter.Models.Relationships.PartnerRelationship>
Public Function Query (partnerRelationshipType As PartnerRelationshipType, query As IQuery) As 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