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.
Declaration Syntax
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
Parameters
- transformFile (String)
- Path to the transform file
Return Value
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
Exceptions
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)