Creates and loads repository with packages from file system or ispac package. Repository represents a named group of packages.

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

Syntax

C#
int LoadPackages(
	string repositoryName,
	string path
)
Visual Basic
Function LoadPackages ( _
	repositoryName As String, _
	path As String _
) As Integer
Visual C++
int LoadPackages(
	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 packages reside (e.g. 'c:\MyPackages\', 'c:\MyPackages\MyIspacPackage.ispac'). All files in the given folder with extension *.dtsx are loaded.

Return Value

Count of loaded packages.

See Also