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)

'Declaration
Public WriteOnly Property PackagePassword As String
	Set
'Usage
Dim instance As Application
Dim value As String

instance.PackagePassword = value

Property Value

Type: System.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
        Sub Main(ByVal args() As String)
            Dim app As Application =  New Application() 
            Dim pkgPswd As String =  "myPassword" 
            app.PackagePassword = pkgPswd
        End Sub
End Class

Community Additions

ADD
Show:
© 2014 Microsoft