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

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 pathToIspac,
	string packageFileName
)
Visual Basic
Sub LoadPackage ( _
	repositoryName As String, _
	pathToIspac As String, _
	packageFileName As String _
)
Visual C++
void LoadPackage(
	String^ repositoryName, 
	String^ pathToIspac, 
	String^ packageFileName
)

Parameters

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

See Also