Exemplo n.º 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>
 public static object GetChildren(this ITenancyService operations, string tenantId, string continuationToken = default(string), int?maxItems = default(int?))
 {
     return(operations.GetChildrenAsync(tenantId, continuationToken, maxItems).GetAwaiter().GetResult());
 }