Dela via


PackageManager.SetPackageStatus(String, PackageStatus) Method

Definition

Sets the status of the specified Package.

public:
 virtual void SetPackageStatus(Platform::String ^ packageFullName, PackageStatus status) = SetPackageStatus;
void SetPackageStatus(winrt::hstring const& packageFullName, PackageStatus const& status);
public void SetPackageStatus(string packageFullName, PackageStatus status);
function setPackageStatus(packageFullName, status)
Public Sub SetPackageStatus (packageFullName As String, status As PackageStatus)

Parameters

packageFullName
String

Platform::String

winrt::hstring

The full name of the package.

status
PackageStatus

One of the enumeration values that describes the status of the package.

Windows requirements

App capabilities
packageManagement

Applies to

See also