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 */
public void set_PackagePassword (String value)

public function set PackagePassword (value : String)

Property Value

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;
        }
    }

Any public static (Shared in Microsoft Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Development Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server 2005.

Target Platforms

Community Additions

ADD
Show:
© 2015 Microsoft