Export (0) Print
Expand All

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

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)

public long Execute(
	bool use32RuntimeOn64,
	EnvironmentReference reference,
	Collection<PackageInfo..::.ExecutionValueParameterSet> setValueParameters,
	Collection<PackageInfo..::.PropertyOverrideParameterSet> 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<PackageInfo.ExecutionValueParameterSet>
The collection of value parameters
propetyOverrideParameters
Type: System.Collections.ObjectModel.Collection<PackageInfo.PropertyOverrideParameterSet>
The property override parameters.

Return Value

Type: System.Int64
The specified package.

Community Additions

ADD
Show:
© 2014 Microsoft