Метод PackageInfo.Execute (Boolean, EnvironmentReference, Collection<PackageInfo.ExecutionValueParameterSet>)
Executes a package with the specified reference and value parameters.
Пространство имен: Microsoft.SqlServer.Management.IntegrationServices
Сборка: Microsoft.SqlServer.Management.IntegrationServices (в 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)
public long Execute(
bool use32RuntimeOn64,
EnvironmentReference reference,
Collection<PackageInfo.ExecutionValueParameterSet> setValueParameters
)
public:
long long Execute(
bool use32RuntimeOn64,
EnvironmentReference^ reference,
Collection<PackageInfo.ExecutionValueParameterSet^>^ setValueParameters
)
member Execute :
use32RuntimeOn64:bool *
reference:EnvironmentReference *
setValueParameters:Collection<PackageInfo.ExecutionValueParameterSet> -> int64
public function Execute(
use32RuntimeOn64 : boolean,
reference : EnvironmentReference,
setValueParameters : Collection<PackageInfo.ExecutionValueParameterSet>
) : long
Параметры
- use32RuntimeOn64
Тип: System.Boolean
True to use 32 bit runtime for execution on a 64-bit server; otherwise, false.
- reference
Тип: Microsoft.SqlServer.Management.IntegrationServices.EnvironmentReference
The specified reference to execute the package.
- setValueParameters
Тип: System.Collections.ObjectModel.Collection<PackageInfo.ExecutionValueParameterSet>
The collection of value parameters
Возвращаемое значение
Тип: System.Int64
The specified package.
См. также
Справочник
Пространство имен Microsoft.SqlServer.Management.IntegrationServices