DeactivatePackageAsync(string name, string version, string source) Method

Marks the specified package as inactive in the current build.

Syntax

public abstract System.Threading.Tasks.Task DeactivatePackageAsync(string name, string version, string source)

Parameters

name
Type: string

The name of the package.

version
Type: string

The version of the package.

source
Type: string

The package source, if applicable.

Exceptions

System.ArgumentNullException

name is null (Nothing in Visual Basic) or empty or version is null (Nothing in Visual Basic) or empty.