ClearAllPackagesAsync(string packageType) Method

Removes records for all packages of the specified type on the server in the current context.

Syntax

public abstract System.Threading.Tasks.Task ClearAllPackagesAsync(string packageType)

Parameters

packageType
Type: string

The type of the package.

Exceptions

System.ArgumentNullException

packageType is null (Nothing in Visual Basic) or empty.