Compartilhar via


PackageInfo.ScriptExecute Método

Definição

Executa o script de pacote.

Sobrecargas

ScriptExecute(Boolean, EnvironmentReference)

Executa o script de pacote usando a referência especificada.

ScriptExecute(Boolean, EnvironmentReference, Collection<PackageInfo.ExecutionValueParameterSet>)

Executa o script de pacote usando os a referência e os parâmetros de valor especificados.

ScriptExecute(Boolean, EnvironmentReference, Collection<PackageInfo.ExecutionValueParameterSet>, Collection<PackageInfo.PropertyOverrideParameterSet>)

Script para executar o pacote.

ScriptExecute(Boolean, EnvironmentReference)

Executa o script de pacote usando a referência especificada.

public:
 Microsoft::SqlServer::Management::Sdk::Sfc::ISfcScript ^ ScriptExecute(bool use32RuntimeOn64, Microsoft::SqlServer::Management::IntegrationServices::EnvironmentReference ^ reference);
public Microsoft.SqlServer.Management.Sdk.Sfc.ISfcScript ScriptExecute (bool use32RuntimeOn64, Microsoft.SqlServer.Management.IntegrationServices.EnvironmentReference reference);
member this.ScriptExecute : bool * Microsoft.SqlServer.Management.IntegrationServices.EnvironmentReference -> Microsoft.SqlServer.Management.Sdk.Sfc.ISfcScript
Public Function ScriptExecute (use32RuntimeOn64 As Boolean, reference As EnvironmentReference) As ISfcScript

Parâmetros

use32RuntimeOn64
Boolean

True para usar o runtime de 32 bits para execução em um servidor de 64 bits; caso contrário, false.

reference
EnvironmentReference

A referência especificada para executar o pacote.

Retornos

O script executado.

Aplica-se a

ScriptExecute(Boolean, EnvironmentReference, Collection<PackageInfo.ExecutionValueParameterSet>)

Executa o script de pacote usando os a referência e os parâmetros de valor especificados.

public:
 Microsoft::SqlServer::Management::Sdk::Sfc::ISfcScript ^ ScriptExecute(bool use32RuntimeOn64, Microsoft::SqlServer::Management::IntegrationServices::EnvironmentReference ^ reference, System::Collections::ObjectModel::Collection<Microsoft::SqlServer::Management::IntegrationServices::PackageInfo::ExecutionValueParameterSet ^> ^ setValueParameters);
public Microsoft.SqlServer.Management.Sdk.Sfc.ISfcScript ScriptExecute (bool use32RuntimeOn64, Microsoft.SqlServer.Management.IntegrationServices.EnvironmentReference reference, System.Collections.ObjectModel.Collection<Microsoft.SqlServer.Management.IntegrationServices.PackageInfo.ExecutionValueParameterSet> setValueParameters);
member this.ScriptExecute : bool * Microsoft.SqlServer.Management.IntegrationServices.EnvironmentReference * System.Collections.ObjectModel.Collection<Microsoft.SqlServer.Management.IntegrationServices.PackageInfo.ExecutionValueParameterSet> -> Microsoft.SqlServer.Management.Sdk.Sfc.ISfcScript
Public Function ScriptExecute (use32RuntimeOn64 As Boolean, reference As EnvironmentReference, setValueParameters As Collection(Of PackageInfo.ExecutionValueParameterSet)) As ISfcScript

Parâmetros

use32RuntimeOn64
Boolean

True para usar o runtime de 32 bits para execução em um servidor de 64 bits; caso contrário, false.

reference
EnvironmentReference

A referência especificada para executar o pacote.

setValueParameters
Collection<PackageInfo.ExecutionValueParameterSet>

A coleção de parâmetros de valor

Retornos

O script executado.

Aplica-se a

ScriptExecute(Boolean, EnvironmentReference, Collection<PackageInfo.ExecutionValueParameterSet>, Collection<PackageInfo.PropertyOverrideParameterSet>)

Script para executar o pacote.

public:
 Microsoft::SqlServer::Management::Sdk::Sfc::ISfcScript ^ ScriptExecute(bool use32RuntimeOn64, Microsoft::SqlServer::Management::IntegrationServices::EnvironmentReference ^ reference, System::Collections::ObjectModel::Collection<Microsoft::SqlServer::Management::IntegrationServices::PackageInfo::ExecutionValueParameterSet ^> ^ setValueParameters, System::Collections::ObjectModel::Collection<Microsoft::SqlServer::Management::IntegrationServices::PackageInfo::PropertyOverrideParameterSet ^> ^ propertyOverrideParameters);
public Microsoft.SqlServer.Management.Sdk.Sfc.ISfcScript ScriptExecute (bool use32RuntimeOn64, Microsoft.SqlServer.Management.IntegrationServices.EnvironmentReference reference, System.Collections.ObjectModel.Collection<Microsoft.SqlServer.Management.IntegrationServices.PackageInfo.ExecutionValueParameterSet> setValueParameters, System.Collections.ObjectModel.Collection<Microsoft.SqlServer.Management.IntegrationServices.PackageInfo.PropertyOverrideParameterSet> propertyOverrideParameters);
member this.ScriptExecute : bool * Microsoft.SqlServer.Management.IntegrationServices.EnvironmentReference * System.Collections.ObjectModel.Collection<Microsoft.SqlServer.Management.IntegrationServices.PackageInfo.ExecutionValueParameterSet> * System.Collections.ObjectModel.Collection<Microsoft.SqlServer.Management.IntegrationServices.PackageInfo.PropertyOverrideParameterSet> -> Microsoft.SqlServer.Management.Sdk.Sfc.ISfcScript
Public Function ScriptExecute (use32RuntimeOn64 As Boolean, reference As EnvironmentReference, setValueParameters As Collection(Of PackageInfo.ExecutionValueParameterSet), propertyOverrideParameters As Collection(Of PackageInfo.PropertyOverrideParameterSet)) As ISfcScript

Parâmetros

use32RuntimeOn64
Boolean

indica se o runtime de 32 bits deve ser usado para execução em um servidor de 64 bits

reference
EnvironmentReference

Uma referência especificada para executar o pacote. Se for nulo, use valores padrão de parâmetro.

setValueParameters
Collection<PackageInfo.ExecutionValueParameterSet>

Uma coleção de conjuntos de parâmetros para definir valores para parâmetros.

propertyOverrideParameters
Collection<PackageInfo.PropertyOverrideParameterSet>

Uma coleção de conjuntos de parâmetros para substituições de propriedade.

Retornos

O script

Aplica-se a