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
指示是否使用 32 位运行时在 64 位服务器上执行
- reference
- EnvironmentReference
用于执行包的指定引用。 如果为 null,请使用参数默认值。
返回
执行 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
指示是否使用 32 位运行时在 64 位服务器上执行
- reference
- EnvironmentReference
用于执行包的指定引用。 如果为 null,请使用参数默认值。
- 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
指示是否使用 32 位运行时在 64 位服务器上执行
- reference
- EnvironmentReference
用于执行包的指定引用。 如果为 null,请使用参数默认值。
- setValueParameters
- Collection<PackageInfo.ExecutionValueParameterSet>
参数集的集合,用于设置参数的值。
- propetyOverrideParameters
- Collection<PackageInfo.PropertyOverrideParameterSet>
属性替代的参数集的集合。
返回
执行 ID