Partager via


ISolutionService.RemoveProjectsAsync Method

Definition

Removes projects from the solution.

public:
 System::Threading::Tasks::ValueTask<bool> RemoveProjectsAsync(System::Collections::Generic::IReadOnlyList<Guid> ^ projectIds, System::Threading::CancellationToken cancellationToken);
public System.Threading.Tasks.ValueTask<bool> RemoveProjectsAsync (System.Collections.Generic.IReadOnlyList<Guid> projectIds, System.Threading.CancellationToken cancellationToken);
abstract member RemoveProjectsAsync : System.Collections.Generic.IReadOnlyList<Guid> * System.Threading.CancellationToken -> System.Threading.Tasks.ValueTask<bool>
Public Function RemoveProjectsAsync (projectIds As IReadOnlyList(Of Guid), cancellationToken As CancellationToken) As ValueTask(Of Boolean)

Parameters

projectIds
IReadOnlyList<Guid>

The GUIDs of the projects.

cancellationToken
CancellationToken

A cancellation token.

Returns

If all projects were already removed, it returns 'false'. Else, it returns 'true'.

Applies to