LoadPackage Method (String, String)
Creates and loads repository with a single package from file system.

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

Syntax

C#
void LoadPackage(
	string repositoryName,
	string path
)
Visual Basic
Sub LoadPackage ( _
	repositoryName As String, _
	path As String _
)
Visual C++
void LoadPackage(
	String^ repositoryName, 
	String^ path
)

Parameters

repositoryName
Type: System..::..String
Name of the repository. Repository name must be unique accross calls of LoadPackages.
path
Type: System..::..String
File system path where the package reside (e.g. 'c:\MyPackages\MyPackage.dtsx').

See Also