Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

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

SQL Server 2012

Executes a package with the specified reference, value parameters and property override parameters.

Namespace:  Microsoft.SqlServer.Management.IntegrationServices
Assembly:  Microsoft.SqlServer.Management.IntegrationServices (in Microsoft.SqlServer.Management.IntegrationServices.dll)
'Declaration
Public Function Execute ( _
	use32RuntimeOn64 As Boolean, _
	reference As EnvironmentReference, _
	setValueParameters As Collection(Of PackageInfo..::.ExecutionValueParameterSet), _
	propetyOverrideParameters As Collection(Of PackageInfo..::.PropertyOverrideParameterSet) _
) As Long
'Usage
Dim instance As PackageInfo 
Dim use32RuntimeOn64 As Boolean 
Dim reference As EnvironmentReference 
Dim setValueParameters As Collection(Of PackageInfo..::.ExecutionValueParameterSet)
Dim propetyOverrideParameters As Collection(Of PackageInfo..::.PropertyOverrideParameterSet)
Dim returnValue As Long 

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

Parameters

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

Return Value

Type: System.Int64
The specified package.
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.