Valid Property

Determine if the specified package file and password are valid.

Syntax

object.Valid

The object is an expression that evaluates to a Package object. The property returns a boolean value.

Remarks

If the file specified by the FileName property references a valid package file, this property will return True. If the file does not exist, does not specify a package file, or the package file requires a password and the Password property is not set to the correct value, this property will return False.

See Also

FileName Property, Password Property