This documentation is archived and is not being maintained.

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 WriteOnly Property PackagePassword As String
/** @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
        Sub Main(ByVal args() As String)
            Dim app As Application =  New Application() 
            Dim pkgPswd As String =  "myPassword" 
            app.PackagePassword = pkgPswd
        End Sub
End Class

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