/// <summary>
 /// Deletes the specified workspace.
 /// </summary>
 /// <remarks>
 /// &lt;br/&gt;**Required scope**: Workspace.ReadWrite.All&lt;br/&gt;To set the
 /// permissions scope, see [Register an
 /// app](https://docs.microsoft.com/power-bi/developer/register-app).
 /// </remarks>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='groupId'>
 /// The workspace id to delete
 /// </param>
 public static void DeleteGroup(this IGroupsOperations operations, System.Guid groupId)
 {
     operations.DeleteGroupAsync(groupId).GetAwaiter().GetResult();
 }
示例#2
0
 /// <summary>
 /// Delete entity from groups
 /// </summary>
 /// <remarks>
 /// Represents an Azure Active Directory object. The directoryObject type is
 /// the base type for many other directory entity types.
 /// </remarks>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='groupId'>
 /// key: id of group
 /// </param>
 /// <param name='ifMatch'>
 /// ETag
 /// </param>
 public static void DeleteGroup(this IGroupsOperations operations, string groupId, string ifMatch = default(string))
 {
     operations.DeleteGroupAsync(groupId, ifMatch).GetAwaiter().GetResult();
 }