GetValidTransforms Method (installPackage)

DTF API

Copy image CopyHover image
Deployment Tools Foundation GetValidTransforms Method (installPackage)
Deployment Tools Foundation NamespacesMicrosoft.Deployment.WindowsInstaller.PackagePatchPackageGetValidTransforms(InstallPackage)
Analyzes the transforms included in the patch package to find the ones that are applicable to an install package.
Declaration Syntax
C# Visual Basic Visual C++ F#
public string[] GetValidTransforms(
	InstallPackage installPackage
)
Public Function GetValidTransforms ( 
	installPackage As InstallPackage
) As String()
public:
array<String^>^ GetValidTransforms(
	InstallPackage^ installPackage
)
member GetValidTransforms : 
        installPackage : InstallPackage -> string[] 
Parameters
installPackage (InstallPackage)
The install package to validate the transforms against
Return Value
array<String>[]()[][]
Array of valid transform names
Remarks
The returned list does not include the "patch special transforms" that are prefixed with "#" If a transform is valid, then its corresponding special transform is assumed to be valid as well.

Assembly: Microsoft.Deployment.WindowsInstaller.Package (Module: Microsoft.Deployment.WindowsInstaller.Package.dll) Version: 3.0.0.0 (3.11.1.2318)