Application::LoadPackage Method (String^, IDTSEvents^)
Loads a Package from the file system.
Assembly: Microsoft.SqlServer.ManagedDTS (in Microsoft.SqlServer.ManagedDTS.dll)
Parameters
- fileName
-
Type:
System::String^
The name of the file that contains the package to load.
- events
-
Type:
Microsoft.SqlServer.Dts.Runtime::IDTSEvents^
An IDTSEvents interface.
The following code example loads a package from the file system, and then returns several properties for the package.
Sample Output:
Number of configurations = 0
VersionGUID = Microsoft.SqlServer.Dts.Runtime.DtsProperty
ProtectionLevel = EncryptSensitiveWithUserKey
Show: