IsTransformValid Method (transformFile)

Microsoft Deployment Tools

Deployment Tools Foundation IsTransformValid Method (transformFile)
Deployment Tools Foundation NamespacesMicrosoft.Deployment.WindowsInstallerDatabaseIsTransformValid(String)
Checks whether a transform is valid for this Database, according to its validation data and flags.
Declaration Syntax
C# Visual Basic Visual C++
public bool IsTransformValid(
	string transformFile
)
Public Function IsTransformValid ( _
	transformFile As String _
) As Boolean
public:
bool IsTransformValid(
	String^ transformFile
)
Parameters
transformFile (String)
Path to the transform file
Return Value
true if the transform can be validly applied to this Database; false otherwise
Exceptions
Exception Condition
InstallerException the transform could not be applied
InvalidHandleException the Database handle is invalid

Assembly: Microsoft.Deployment.WindowsInstaller (Module: Microsoft.Deployment.WindowsInstaller) Version: 3.0.0.0 (3.5.1623.0)