Export (0) Print
Expand All

SoftwareDistributionPackage.PopulatePackageFromWindowsInstallerPatch Method

Creates a WindowsInstallerPatchItem from the given MSP file.


Namespace: Microsoft.UpdateServices.Administration
Assembly: Microsoft.UpdateServices.Administration (in Microsoft.UpdateServices.Administration.dll)

public void PopulatePackageFromWindowsInstallerPatch (
	string filePath
)
public void PopulatePackageFromWindowsInstallerPatch (
	String filePath
)
public function PopulatePackageFromWindowsInstallerPatch (
	filePath : String
)

Parameters

filePath

The path of the MSP file.

Exception typeCondition
InvalidOperationException

This package is not empty, or else a Populate() method has been called previously.

ArgumentNullException

filePath is null.

FileNotFoundException

filePath could not be found.

InvalidDataException

filePath does not contain a valid MSP file.

Win32Exception

There was a failure extracting data from the MSP package.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Development Platforms

Target Platforms

Windows Server 2008, Windows Server 2003, Windows Server 2008 R2
Show:
© 2014 Microsoft