Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Executes the package script using the specified reference and value parameters.
Namespace: Microsoft.SqlServer.Management.IntegrationServices
Assembly: Microsoft.SqlServer.Management.IntegrationServices (in Microsoft.SqlServer.Management.IntegrationServices.dll)
Syntax
'Declaration
Public Function ScriptExecute ( _
use32RuntimeOn64 As Boolean, _
reference As EnvironmentReference, _
setValueParameters As Collection(Of PackageInfo.ExecutionValueParameterSet) _
) As ISfcScript
'Usage
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
Parameters
- use32RuntimeOn64
Type: System.Boolean
True to use 32 bit runtime for execution on a 64-bit server; otherwise, false.
- reference
Type: Microsoft.SqlServer.Management.IntegrationServices.EnvironmentReference
The specified reference to execute the package.
- setValueParameters
Type: System.Collections.ObjectModel.Collection<PackageInfo.ExecutionValueParameterSet>
The collection of value parameters
Return Value
Type: Microsoft.SqlServer.Management.Sdk.Sfc.ISfcScript
The executed script.
See Also
Reference
Microsoft.SqlServer.Management.IntegrationServices Namespace