مشاركة عبر


PackageInfo.ScriptValidate Method

Validates a specified package script.

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

Syntax

'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)
public ISfcScript ScriptValidate(
    bool use32RuntimeOn64,
    PackageInfo.ReferenceUsage referenceUsage,
    EnvironmentReference reference
)
public:
ISfcScript^ ScriptValidate(
    bool use32RuntimeOn64, 
    PackageInfo.ReferenceUsage referenceUsage, 
    EnvironmentReference^ reference
)
member ScriptValidate : 
        use32RuntimeOn64:bool * 
        referenceUsage:PackageInfo.ReferenceUsage * 
        reference:EnvironmentReference -> ISfcScript
public function ScriptValidate(
    use32RuntimeOn64 : boolean, 
    referenceUsage : PackageInfo.ReferenceUsage, 
    reference : EnvironmentReference
) : ISfcScript

Parameters

  • use32RuntimeOn64
    Type: System.Boolean
    True to use 32 bit runtime for execution on a 64-bit server; otherwise, false.

Return Value

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

See Also

Reference

PackageInfo Class

Microsoft.SqlServer.Management.IntegrationServices Namespace