Share via


PackageDeploymentManager.IsPackageProvisioned(String) Method

Definition

Determines whether the target package(s) is/are provisioned.

public:
 virtual bool IsPackageProvisioned(Platform::String ^ package) = IsPackageProvisioned;
bool IsPackageProvisioned(winrt::hstring const& package);
public bool IsPackageProvisioned(string package);
function isPackageProvisioned(package)
Public Function IsPackageProvisioned (package As String) As Boolean

Parameters

package
String

Platform::String

winrt::hstring

The target package(s) to query about.

Returns

Boolean

bool

true if the target package(s) is/are provisioned; otherwise, false.

Remarks

This method requires administrative privileges.

Applies to