Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
MSDN Library

PackageInfo.Execute Method (Boolean, EnvironmentReference, Collection(Of PackageInfo.ExecutionValueParameterSet))

Executes a package with the specified reference and value parameters.

Namespace:  Microsoft.SqlServer.Management.IntegrationServices
Assembly:  Microsoft.SqlServer.Management.IntegrationServices (in Microsoft.SqlServer.Management.IntegrationServices.dll)

Public Function Execute ( _
	use32RuntimeOn64 As Boolean, _
	reference As EnvironmentReference, _
	setValueParameters As Collection(Of PackageInfo.ExecutionValueParameterSet) _
) As Long
Dim instance As PackageInfo 
Dim use32RuntimeOn64 As Boolean 
Dim reference As EnvironmentReference 
Dim setValueParameters As Collection(Of PackageInfo..::.ExecutionValueParameterSet)
Dim returnValue As Long 

returnValue = instance.Execute(use32RuntimeOn64, _
	reference, setValueParameters)


Type: Boolean
True to use 32 bit runtime for execution on a 64-bit server; otherwise, false.
Type: Microsoft.SqlServer.Management.IntegrationServices.EnvironmentReference
The specified reference to execute the package.
Type: Collection(Of PackageInfo.ExecutionValueParameterSet)
The collection of value parameters

Return Value

Type: Int64
The specified package.

Community Additions

© 2015 Microsoft