/// <summary> /// Deletes multiple robots based on their keys. /// </summary> /// <remarks> /// Required permissions: Robots.Delete. /// </remarks> /// <param name='operations'> /// The operations group for this extension method. /// </param> /// <param name='robotsDeleteBulk'> /// </param> public static void DeleteBulk(this IRobots operations, RobotsDeleteBulk robotsDeleteBulk) { operations.DeleteBulkAsync(robotsDeleteBulk).GetAwaiter().GetResult(); }
/// <summary> /// Deletes multiple robots based on their keys. /// </summary> /// <remarks> /// Required permissions: Robots.Delete. /// </remarks> /// <param name='operations'> /// The operations group for this extension method. /// </param> /// <param name='robotsDeleteBulk'> /// </param> /// <param name='cancellationToken'> /// The cancellation token. /// </param> public static async Task DeleteBulkAsync(this IRobots operations, RobotsDeleteBulk robotsDeleteBulk, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { (await operations.DeleteBulkWithHttpMessagesAsync(robotsDeleteBulk, null, cancellationToken).ConfigureAwait(false)).Dispose(); }
/// <summary> /// Deletes multiple robots based on their keys. /// </summary> /// <remarks> /// Required permissions: Robots.Delete. /// </remarks> /// <param name='operations'> /// The operations group for this extension method. /// </param> /// <param name='robotsDeleteBulk'> /// </param> /// <param name='xUIPATHOrganizationUnitId'> /// Folder/OrganizationUnit Id /// </param> public static void DeleteBulk(this IRobots operations, RobotsDeleteBulk robotsDeleteBulk, long?xUIPATHOrganizationUnitId = default(long?)) { operations.DeleteBulkAsync(robotsDeleteBulk, xUIPATHOrganizationUnitId).GetAwaiter().GetResult(); }