PackageDeploymentManager.IsPackageSetReadyOrNewerAvailable(PackageSet) Method

Definition

Determines whether the target package set is present (installed, registered) and ready for use. This method is a quick test to determine whether more (costly) work is needed before the target can be used.

public:
 virtual PackageReadyOrNewerAvailableStatus IsPackageSetReadyOrNewerAvailable(PackageSet ^ packageSet) = IsPackageSetReadyOrNewerAvailable;
PackageReadyOrNewerAvailableStatus IsPackageSetReadyOrNewerAvailable(PackageSet const& packageSet);
public PackageReadyOrNewerAvailableStatus IsPackageSetReadyOrNewerAvailable(PackageSet packageSet);
function isPackageSetReadyOrNewerAvailable(packageSet)
Public Function IsPackageSetReadyOrNewerAvailable (packageSet As PackageSet) As PackageReadyOrNewerAvailableStatus

Parameters

packageSet
PackageSet

The target package set to query about.

Returns

true only if all packages referenced by packageSet are present (installed, registered) and ready for use; otherwise, false.

Examples

See the example in PackageDeploymentManager.EnsurePackageSetReadyAsync.

Remarks

See Remarks for IsPackageReady.

Applies to