PackageDeploymentManager.IsPackageSetReadyOrNewerAvailable(PackageSet) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.