IEntitlementCollectionByEntitlementType.GetAsync(Boolean) 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.
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.