Ejemplo n.º 1
0
 /// <summary>
 /// Deletes a tenant license based on its key.
 /// </summary>
 /// <remarks>
 /// Client Credentials Flow required permissions: Administration or
 /// Administration.Write.
 ///
 /// Host only. Requires authentication.
 /// </remarks>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='body'>
 /// </param>
 /// <param name='cancellationToken'>
 /// The cancellation token.
 /// </param>
 public static async Task DeleteTenantLicenseAsync(this IHostLicenses operations, HostLicensesDeleteTenantLicenseParameters body = default(HostLicensesDeleteTenantLicenseParameters), CancellationToken cancellationToken = default(CancellationToken))
 {
     (await operations.DeleteTenantLicenseWithHttpMessagesAsync(body, null, cancellationToken).ConfigureAwait(false)).Dispose();
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Deletes a tenant license based on its key.
 /// </summary>
 /// <remarks>
 /// Client Credentials Flow required permissions: Administration or
 /// Administration.Write.
 ///
 /// Host only. Requires authentication.
 /// </remarks>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='body'>
 /// </param>
 public static void DeleteTenantLicense(this IHostLicenses operations, HostLicensesDeleteTenantLicenseParameters body = default(HostLicensesDeleteTenantLicenseParameters))
 {
     operations.DeleteTenantLicenseAsync(body).GetAwaiter().GetResult();
 }