PackageInfo.Execute 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
执行包裹。
重载
Execute(Boolean, EnvironmentReference)
执行包裹。
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
参数
- use32RuntimeOn64
- Boolean
表示是否在64位服务器上使用32位运行时执行
- reference
- EnvironmentReference
指定引用来执行该包。 如果是空值,使用参数默认值。
返回
执行ID
适用于
Execute(Boolean, EnvironmentReference, Collection<PackageInfo.ExecutionValueParameterSet>)
执行包裹。
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
参数
- use32RuntimeOn64
- Boolean
表示是否在64位服务器上使用32位运行时执行
- reference
- EnvironmentReference
指定引用来执行该包。 如果是空值,使用参数默认值。
- setValueParameters
- Collection<PackageInfo.ExecutionValueParameterSet>
一组参数集合映射为参数的集合值。
返回
执行ID
适用于
Execute(Boolean, EnvironmentReference, Collection<PackageInfo.ExecutionValueParameterSet>, Collection<PackageInfo.PropertyOverrideParameterSet>)
执行包裹。
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
参数
- use32RuntimeOn64
- Boolean
表示是否在64位服务器上使用32位运行时执行
- reference
- EnvironmentReference
指定引用来执行该包。 如果是空值,使用参数默认值。
- setValueParameters
- Collection<PackageInfo.ExecutionValueParameterSet>
一组参数集合映射为参数的集合值。
- propetyOverrideParameters
- Collection<PackageInfo.PropertyOverrideParameterSet>
一组用于属性覆写的参数集。
返回
执行ID