Delen via


IEntitlementCollection Interface

Definition

Holds operations that can be performed on entitlements associated to the customer based on the logged in partner.

public interface IEntitlementCollection : Microsoft.Store.PartnerCenter.GenericOperations.IEntireEntityCollectionRetrievalOperations<Microsoft.Store.PartnerCenter.Models.Entitlements.Entitlement,Microsoft.Store.PartnerCenter.Models.ResourceCollection<Microsoft.Store.PartnerCenter.Models.Entitlements.Entitlement>>, Microsoft.Store.PartnerCenter.IPartnerComponent, Microsoft.Store.PartnerCenter.IPartnerComponent<string>
type IEntitlementCollection = interface
    interface IPartnerComponent
    interface IPartnerComponent<string>
    interface IEntireEntityCollectionRetrievalOperations<Entitlement, ResourceCollection<Entitlement>>
Public Interface IEntitlementCollection
Implements IEntireEntityCollectionRetrievalOperations(Of Entitlement, ResourceCollection(Of Entitlement)), IPartnerComponent, IPartnerComponent(Of String)
Implements

Properties

Context

Gets the component context object.

(Inherited from IPartnerComponent<TContext>)
Partner

Gets a reference to the partner operations instance that generated this component.

(Inherited from IPartnerComponent<TContext>)

Methods

ByEntitlementType(String)

Retrieves the operations that can be applied on entitlements with a given entitlement type.

Get()

Retrieves all entities.

(Inherited from IEntireEntityCollectionRetrievalOperations<T,TResourceCollection>)
Get(Boolean)

Retrieves the entitlements for a customer.

GetAsync()

Asynchronously retrieves all entities.

(Inherited from IEntireEntityCollectionRetrievalOperations<T,TResourceCollection>)
GetAsync(Boolean)

An asynchronous operation to retrieve the entitlements for a customer.

Applies to