Export (0) Print
Expand All

PackageInfo.ScriptValidate Method

Validates a specified package script.

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

'Declaration
Public Function ScriptValidate ( _
	use32RuntimeOn64 As Boolean, _
	referenceUsage As PackageInfo..::.ReferenceUsage, _
	reference As EnvironmentReference _
) As ISfcScript
'Usage
Dim instance As PackageInfo 
Dim use32RuntimeOn64 As Boolean 
Dim referenceUsage As PackageInfo..::.ReferenceUsage 
Dim reference As EnvironmentReference 
Dim returnValue As ISfcScript 

returnValue = instance.ScriptValidate(use32RuntimeOn64, _
	referenceUsage, reference)

Parameters

use32RuntimeOn64
Type: Boolean
True to use 32 bit runtime for execution on a 64-bit server; otherwise, false.
referenceUsage
Type: Microsoft.SqlServer.Management.IntegrationServices.PackageInfo.ReferenceUsage
The reference usage.
reference
Type: Microsoft.SqlServer.Management.IntegrationServices.EnvironmentReference
The reference used to validate the package.

Return Value

Type: Microsoft.SqlServer.Management.Sdk.Sfc.ISfcScript
The validated package script.

Community Additions

ADD
Show:
© 2014 Microsoft