Returns the password for the current package, or sets the
password for new packages that are created.
Syntax
object.Password [= value]
The Password property syntax has the
following parts:
| Part |
Description |
| object |
An object expression that evaluates to a
Package object. |
| value |
A string which specifies the password to be
used when creating a new patch file. |
Remarks
A package created with a password cannot be applied unless
the same password is provided before calling the Apply method. If no
password is required, this value should be an empty string.
To determine if a password is valid for a given package,
set the FileName property to the name of the package file, the Password
property to the appropriate password, and then check the value of the Valid
property.
See Also
Apply Method, Create Method, FileName
Property, Update Method, Valid
Property
|