예제 #1
0
 /// <summary>
 /// Get all child tenants of the current tenant
 /// </summary>
 /// <remarks>
 /// Get all child tenants of the current tenant
 /// </remarks>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='tenantId'>
 /// The tenant within which the request should operate
 /// </param>
 /// <param name='continuationToken'>
 /// A continuation token for an operation where more data is available
 /// </param>
 /// <param name='maxItems'>
 /// The maximum number of items to return in the request. Fewer than this
 /// number may be returned.
 /// </param>
 /// <param name='cancellationToken'>
 /// The cancellation token.
 /// </param>
 public static async Task <object> GetChildrenAsync(this ITenancyService operations, string tenantId, string continuationToken = default(string), int?maxItems = default(int?), CancellationToken cancellationToken = default(CancellationToken))
 {
     using (var _result = await operations.GetChildrenWithHttpMessagesAsync(tenantId, continuationToken, maxItems, null, cancellationToken).ConfigureAwait(false))
     {
         return(_result.Body);
     }
 }