다음을 통해 공유


GroupsOperationsExtensions.CreateAsync Method

Definition

Create a group in the directory.

public static System.Threading.Tasks.Task<Microsoft.Azure.Graph.RBAC.Models.ADGroup> CreateAsync (this Microsoft.Azure.Graph.RBAC.IGroupsOperations operations, Microsoft.Azure.Graph.RBAC.Models.GroupCreateParameters parameters, System.Threading.CancellationToken cancellationToken = default);
static member CreateAsync : Microsoft.Azure.Graph.RBAC.IGroupsOperations * Microsoft.Azure.Graph.RBAC.Models.GroupCreateParameters * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Graph.RBAC.Models.ADGroup>
<Extension()>
Public Function CreateAsync (operations As IGroupsOperations, parameters As GroupCreateParameters, Optional cancellationToken As CancellationToken = Nothing) As Task(Of ADGroup)

Parameters

operations
IGroupsOperations

The operations group for this extension method.

parameters
GroupCreateParameters

The parameters for the group to create.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to