PackageInfo.ScriptExecute 方法 (Boolean, EnvironmentReference, Collection<PackageInfo.ExecutionValueParameterSet>)
Executes the package script using the specified reference and value parameters.
命名空间: Microsoft.SqlServer.Management.IntegrationServices
程序集: Microsoft.SqlServer.Management.IntegrationServices(在 Microsoft.SqlServer.Management.IntegrationServices.dll 中)
语法
声明
Public Function ScriptExecute ( _
use32RuntimeOn64 As Boolean, _
reference As EnvironmentReference, _
setValueParameters As Collection(Of PackageInfo.ExecutionValueParameterSet) _
) As ISfcScript
用法
Dim instance As PackageInfo
Dim use32RuntimeOn64 As Boolean
Dim reference As EnvironmentReference
Dim setValueParameters As Collection(Of PackageInfo.ExecutionValueParameterSet)
Dim returnValue As ISfcScript
returnValue = instance.ScriptExecute(use32RuntimeOn64, _
reference, setValueParameters)
public ISfcScript ScriptExecute(
bool use32RuntimeOn64,
EnvironmentReference reference,
Collection<PackageInfo.ExecutionValueParameterSet> setValueParameters
)
public:
ISfcScript^ ScriptExecute(
bool use32RuntimeOn64,
EnvironmentReference^ reference,
Collection<PackageInfo.ExecutionValueParameterSet^>^ setValueParameters
)
member ScriptExecute :
use32RuntimeOn64:bool *
reference:EnvironmentReference *
setValueParameters:Collection<PackageInfo.ExecutionValueParameterSet> -> ISfcScript
public function ScriptExecute(
use32RuntimeOn64 : boolean,
reference : EnvironmentReference,
setValueParameters : Collection<PackageInfo.ExecutionValueParameterSet>
) : ISfcScript
参数
- 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
返回值
类型:Microsoft.SqlServer.Management.Sdk.Sfc.ISfcScript
The executed script.