共用方式為


GroupsOperationsExtensions.CreateGroupAsync Method

Definition

public static System.Threading.Tasks.Task<Microsoft.PowerBI.Api.Models.Group> CreateGroupAsync (this Microsoft.PowerBI.Api.IGroupsOperations operations, Microsoft.PowerBI.Api.Models.GroupCreationRequest requestParameters, bool? workspaceV2 = default, System.Threading.CancellationToken cancellationToken = default);
static member CreateGroupAsync : Microsoft.PowerBI.Api.IGroupsOperations * Microsoft.PowerBI.Api.Models.GroupCreationRequest * Nullable<bool> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.PowerBI.Api.Models.Group>
<Extension()>
Public Function CreateGroupAsync (operations As IGroupsOperations, requestParameters As GroupCreationRequest, Optional workspaceV2 As Nullable(Of Boolean) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Group)

Parameters

operations
IGroupsOperations
requestParameters
GroupCreationRequest
workspaceV2
Nullable<Boolean>
cancellationToken
CancellationToken

Returns

Applies to