Executes a package.
Namespace: SSIS.TestAssembly: SSIS.Test (in SSIS.Test.dll) Version: 3.0.0.236 (3.0.0.236)
Syntax
C# |
---|
void ExecutePackage(
string repositoryName,
string packageName
) |
Visual Basic |
---|
Sub ExecutePackage ( _
repositoryName As String, _
packageName As String _
) |
Visual C++ |
---|
void ExecutePackage(
String^ repositoryName,
String^ packageName
) |
Parameters
- repositoryName
- Type: System..::..String
Name of the repository where the package is loaded.
- packageName
- Type: System..::..String
Name identifier of a package to execute. If a package is loaded from file system, the name corresponds to the package file name (e.g. MyPackageFile.dtsx).
If a package is loaded from dts or sql server, the name must be the same as the name under which the package is saved on dts or sql server.
See Also