PackageInfo.ScriptValidate 方法

Validates a specified package script.

命名空间:  Microsoft.SqlServer.Management.IntegrationServices
程序集:  Microsoft.SqlServer.Management.IntegrationServices(在 Microsoft.SqlServer.Management.IntegrationServices.dll 中)

语法

声明
Public Function ScriptValidate ( _
    use32RuntimeOn64 As Boolean, _
    referenceUsage As PackageInfo.ReferenceUsage, _
    reference As EnvironmentReference _
) As ISfcScript
用法
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

参数

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

返回值

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

请参阅

参考

PackageInfo 类

Microsoft.SqlServer.Management.IntegrationServices 命名空间