

Deployment Tools Foundation
IsTransformValid Method (transformFile)
Deployment Tools Foundation Namespaces ► Microsoft.Deployment.WindowsInstaller ► Database ► IsTransformValid(String)
Checks whether a transform is valid for this Database, according to its validation data and flags.

C# | Visual Basic | Visual C++ | F# |
public bool IsTransformValid( string transformFile )
Public Function IsTransformValid ( transformFile As String ) As Boolean
public: bool IsTransformValid( String^ transformFile )
member IsTransformValid : transformFile : string -> bool

- transformFile (String)
- Path to the transform file

Boolean
true if the transform can be validly applied to this Database; false otherwise
true if the transform can be validly applied to this Database; false otherwise

Exception | Condition |
---|---|
InstallerException | the transform could not be applied |
InvalidHandleException | the Database handle is invalid |
Assembly: Microsoft.Deployment.WindowsInstaller (Module: Microsoft.Deployment.WindowsInstaller.dll) Version: 3.0.0.0 (3.11.1.2318)