PackageInfo.Execute Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Executes the package.
Overloads
Execute(Boolean, EnvironmentReference) |
Executes the package. |
Execute(Boolean, EnvironmentReference, Collection<PackageInfo.ExecutionValueParameterSet>) |
Executes the package. |
Execute(Boolean, EnvironmentReference, Collection<PackageInfo.ExecutionValueParameterSet>, Collection<PackageInfo.PropertyOverrideParameterSet>) |
Executes the package. |
Execute(Boolean, EnvironmentReference)
Executes the package.
public:
long Execute(bool use32RuntimeOn64, Microsoft::SqlServer::Management::IntegrationServices::EnvironmentReference ^ reference);
public long Execute (bool use32RuntimeOn64, Microsoft.SqlServer.Management.IntegrationServices.EnvironmentReference reference);
member this.Execute : bool * Microsoft.SqlServer.Management.IntegrationServices.EnvironmentReference -> int64
Public Function Execute (use32RuntimeOn64 As Boolean, reference As EnvironmentReference) As Long
Parameters
- use32RuntimeOn64
- Boolean
indicates whether to use 32 bit runtime for execution on a 64-bit server
- reference
- EnvironmentReference
A specified reference to execute the package. If it's null, use parameter default values.
Returns
The execution ID
Applies to
Execute(Boolean, EnvironmentReference, Collection<PackageInfo.ExecutionValueParameterSet>)
Executes the package.
public:
long Execute(bool use32RuntimeOn64, Microsoft::SqlServer::Management::IntegrationServices::EnvironmentReference ^ reference, System::Collections::ObjectModel::Collection<Microsoft::SqlServer::Management::IntegrationServices::PackageInfo::ExecutionValueParameterSet ^> ^ setValueParameters);
public long Execute (bool use32RuntimeOn64, Microsoft.SqlServer.Management.IntegrationServices.EnvironmentReference reference, System.Collections.ObjectModel.Collection<Microsoft.SqlServer.Management.IntegrationServices.PackageInfo.ExecutionValueParameterSet> setValueParameters);
member this.Execute : bool * Microsoft.SqlServer.Management.IntegrationServices.EnvironmentReference * System.Collections.ObjectModel.Collection<Microsoft.SqlServer.Management.IntegrationServices.PackageInfo.ExecutionValueParameterSet> -> int64
Public Function Execute (use32RuntimeOn64 As Boolean, reference As EnvironmentReference, setValueParameters As Collection(Of PackageInfo.ExecutionValueParameterSet)) As Long
Parameters
- use32RuntimeOn64
- Boolean
indicates whether to use 32 bit runtime for execution on a 64-bit server
- reference
- EnvironmentReference
A specified reference to execute the package. If it's null, use parameter default values.
- setValueParameters
- Collection<PackageInfo.ExecutionValueParameterSet>
A collection of parameter sets to set values for parameters.
Returns
The execution ID
Applies to
Execute(Boolean, EnvironmentReference, Collection<PackageInfo.ExecutionValueParameterSet>, Collection<PackageInfo.PropertyOverrideParameterSet>)
Executes the package.
public:
long Execute(bool use32RuntimeOn64, Microsoft::SqlServer::Management::IntegrationServices::EnvironmentReference ^ reference, System::Collections::ObjectModel::Collection<Microsoft::SqlServer::Management::IntegrationServices::PackageInfo::ExecutionValueParameterSet ^> ^ setValueParameters, System::Collections::ObjectModel::Collection<Microsoft::SqlServer::Management::IntegrationServices::PackageInfo::PropertyOverrideParameterSet ^> ^ propetyOverrideParameters);
public long Execute (bool use32RuntimeOn64, Microsoft.SqlServer.Management.IntegrationServices.EnvironmentReference reference, System.Collections.ObjectModel.Collection<Microsoft.SqlServer.Management.IntegrationServices.PackageInfo.ExecutionValueParameterSet> setValueParameters, System.Collections.ObjectModel.Collection<Microsoft.SqlServer.Management.IntegrationServices.PackageInfo.PropertyOverrideParameterSet> propetyOverrideParameters);
member this.Execute : bool * Microsoft.SqlServer.Management.IntegrationServices.EnvironmentReference * System.Collections.ObjectModel.Collection<Microsoft.SqlServer.Management.IntegrationServices.PackageInfo.ExecutionValueParameterSet> * System.Collections.ObjectModel.Collection<Microsoft.SqlServer.Management.IntegrationServices.PackageInfo.PropertyOverrideParameterSet> -> int64
Public Function Execute (use32RuntimeOn64 As Boolean, reference As EnvironmentReference, setValueParameters As Collection(Of PackageInfo.ExecutionValueParameterSet), propetyOverrideParameters As Collection(Of PackageInfo.PropertyOverrideParameterSet)) As Long
Parameters
- use32RuntimeOn64
- Boolean
indicates whether to use 32 bit runtime for execution on a 64-bit server
- reference
- EnvironmentReference
A specified reference to execute the package. If it's null, use parameter default values.
- setValueParameters
- Collection<PackageInfo.ExecutionValueParameterSet>
A collection of parameter sets to set values for parameters.
- propetyOverrideParameters
- Collection<PackageInfo.PropertyOverrideParameterSet>
A collection of parameter sets for property overrides.
Returns
The execution ID