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++ |
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
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.9.1006.0)