Sdílet prostřednictvím


IEntitlementCollection.GetAsync(Boolean) Method

Definition

An asynchronous operation to retrieve the entitlements for a customer.

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 for the customer.

Applies to