共用方式為


ManagementGroupsOperationsExtensions.ListAsync Method

Definition

List management groups for the authenticated user.

public static System.Threading.Tasks.Task<Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.ManagementGroups.Models.ManagementGroupInfo>> ListAsync (this Microsoft.Azure.Management.ManagementGroups.IManagementGroupsOperations operations, string cacheControl = "no-cache", string skiptoken = default, System.Threading.CancellationToken cancellationToken = default);
static member ListAsync : Microsoft.Azure.Management.ManagementGroups.IManagementGroupsOperations * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.ManagementGroups.Models.ManagementGroupInfo>>
<Extension()>
Public Function ListAsync (operations As IManagementGroupsOperations, Optional cacheControl As String = "no-cache", Optional skiptoken As String = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of IPage(Of ManagementGroupInfo))

Parameters

operations
IManagementGroupsOperations

The operations group for this extension method.

cacheControl
String

Indicates whether the request should utilize any caches. Populate the header with 'no-cache' value to bypass existing caches.

skiptoken
String

Page continuation token is only used if a previous operation returned a partial result. If a previous response contains a nextLink element, the value of the nextLink element will include a token parameter that specifies a starting point to use for subsequent calls.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to