/// <summary> /// Delete a management lock by scope. /// </summary> /// <param name='operations'> /// The operations group for this extension method. /// </param> /// <param name='scope'> /// The scope for the lock. /// </param> /// <param name='lockName'> /// The name of lock. /// </param> public static void DeleteByScope(this IManagementLocksOperations operations, string scope, string lockName) { operations.DeleteByScopeAsync(scope, lockName).GetAwaiter().GetResult(); }