Delen via


IEntitlementCollectionByEntitlementType.GetAsync(Boolean) Method

Definition

Asynchronously retrieves entitlement collection with the given entitlement type.

public System.Threading.Tasks.Task<Microsoft.Store.PartnerCenter.Models.ResourceCollection<Microsoft.Store.PartnerCenter.Models.Entitlements.Entitlement>> GetAsync (bool showExpiry);
abstract member GetAsync : bool -> System.Threading.Tasks.Task<Microsoft.Store.PartnerCenter.Models.ResourceCollection<Microsoft.Store.PartnerCenter.Models.Entitlements.Entitlement>>
Public Function GetAsync (showExpiry As Boolean) As Task(Of ResourceCollection(Of Entitlement))

Parameters

showExpiry
Boolean

A flag to indicate if the expiry date is required to be returned along with the entitlement (if applicable).

Returns

The collection of entitlements corresponding to a specific entitlement type for the customer.

Applies to