Compartilhar via


Método PackageInfo.ScriptExecute (Boolean, EnvironmentReference)

Executes the package script using the specified reference.

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

Sintaxe

'Declaração
Public Function ScriptExecute ( _
    use32RuntimeOn64 As Boolean, _
    reference As EnvironmentReference _
) As ISfcScript
'Uso
Dim instance As PackageInfo 
Dim use32RuntimeOn64 As Boolean 
Dim reference As EnvironmentReference 
Dim returnValue As ISfcScript 

returnValue = instance.ScriptExecute(use32RuntimeOn64, _
    reference)
public ISfcScript ScriptExecute(
    bool use32RuntimeOn64,
    EnvironmentReference reference
)
public:
ISfcScript^ ScriptExecute(
    bool use32RuntimeOn64, 
    EnvironmentReference^ reference
)
member ScriptExecute : 
        use32RuntimeOn64:bool * 
        reference:EnvironmentReference -> ISfcScript
public function ScriptExecute(
    use32RuntimeOn64 : boolean, 
    reference : EnvironmentReference
) : ISfcScript

Parâmetros

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

Valor de retorno

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

Consulte também

Referência

PackageInfo Classe

Sobrecarregado ScriptExecute

Namespace Microsoft.SqlServer.Management.IntegrationServices