Gets the name of a package. If the package is loaded from the file system , the name corresponds to the package file name e.g. c:\Packages\Customers.dtsx. In case when the package is loaded from Sql server, the name corresponds to the "Name" property of the package. When loading from Dts server the name corresponds to the file name of the package without ".dtsx" extension.

Namespace: SSIS.Test.Metadata
Assembly: SSIS.Test (in SSIS.Test.dll) Version: 3.0.0.236 (3.0.0.236)

Syntax

C#
public string PackageName { get; private set; }
Visual Basic
Public Property PackageName As String
	Get
	Private Set
Visual C++
public:
property String^ PackageName {
	String^ get ();
	private: void set (String^ value);
}

See Also