Export (0) Print
Expand All

PackageInfo.ScriptExecute Method (Boolean, EnvironmentReference)

Executes the package script using the specified reference.

Namespace:  Microsoft.SqlServer.Management.IntegrationServices
Assembly:  Microsoft.SqlServer.Management.IntegrationServices (in Microsoft.SqlServer.Management.IntegrationServices.dll)

'Declaration
Public Function ScriptExecute ( _
	use32RuntimeOn64 As Boolean, _
	reference As EnvironmentReference _
) As ISfcScript
'Usage
Dim instance As PackageInfo 
Dim use32RuntimeOn64 As Boolean 
Dim reference As EnvironmentReference 
Dim returnValue As ISfcScript 

returnValue = instance.ScriptExecute(use32RuntimeOn64, _
	reference)

Parameters

use32RuntimeOn64
Type: 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.

Return Value

Type: Microsoft.SqlServer.Management.Sdk.Sfc.ISfcScript
The executed script.

Community Additions

ADD
Show:
© 2014 Microsoft