Creates and loads repository with packages from file system or ispac package. Repository represents a named group of packages.
Namespace: SSIS.TestAssembly: SSIS.Test (in SSIS.Test.dll) Version: 3.0.0.236 (3.0.0.236)
Syntax
Visual Basic |
---|
Function LoadPackages ( _
repositoryName As String, _
path As String _
) As Integer |
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