This documentation is archived and is not being maintained.
Application.LoadPackage Method (String, IDTSEvents)
Loads a Package
from the file system.
Microsoft.SqlServer.ManagedDTS (in microsoft.sqlserver.manageddts.dll)
Package^ LoadPackage (
public Package LoadPackage (
public function LoadPackage (
fileName : String,
events : IDTSEvents
) : Package
The name of the file that contains the package to load.
An IDTSEvents interface.
The package that was loaded.
The following code example loads a package from the file system, and then returns several properties for the package.
No code example is currently available or this language may not be supported.
Number of configurations = 0
VersionGUID = Microsoft.SqlServer.Dts.Runtime.DtsProperty
ProtectionLevel = EncryptSensitiveWithUserKey
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.