IRelationshipCollection.Query(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.
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 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.