Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

Application.PackagePassword Property

Sets the value of the password for the package. This property is write-only.

Namespace:  Microsoft.SqlServer.Dts.Runtime
Assembly:  Microsoft.SqlServer.ManagedDTS (in Microsoft.SqlServer.ManagedDTS.dll)

public string PackagePassword { set; }

Property Value

Type: String
A String that contains the password for the package.

The following code example shows how to set the password on a package.

class ApplicationTests
{
        static void Main(string[] args)
        {
            Application app = new Application();
            String pkgPswd = "myPassword";
            app.PackagePassword = pkgPswd;
        }
    }

Community Additions

Show:
© 2015 Microsoft