コード例 #1
0
 /// <summary>
 /// Gets a single tenant license based on its id.
 /// </summary>
 /// <remarks>
 /// Host only. Requires authentication.
 /// </remarks>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='tenantId'>
 /// </param>
 public static LicenseDto GetTenantLicenseByTenantid(this IHostLicenses operations, int tenantId)
 {
     return(operations.GetTenantLicenseByTenantidAsync(tenantId).GetAwaiter().GetResult());
 }
コード例 #2
0
 /// <summary>
 /// Gets a single tenant license based on its id.
 /// </summary>
 /// <remarks>
 /// Client Credentials Flow required permissions: Administration or
 /// Administration.Read.
 ///
 /// Host only. Requires authentication.
 /// </remarks>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='tenantId'>
 /// </param>
 /// <param name='expand'>
 /// Indicates the related entities to be represented inline. The maximum depth
 /// is 2.
 /// </param>
 /// <param name='select'>
 /// Limits the properties returned in the result.
 /// </param>
 public static LicenseDto GetTenantLicenseByTenantid(this IHostLicenses operations, int tenantId, string expand = default(string), string select = default(string))
 {
     return(operations.GetTenantLicenseByTenantidAsync(tenantId, expand, select).GetAwaiter().GetResult());
 }