Condividi tramite


PackageInfo.ScriptExecute Metodo

Definizione

Esegue lo script del pacchetto.

Overload

ScriptExecute(Boolean, EnvironmentReference)

Esegue lo script del pacchetto tramite il riferimento specificato.

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

Esegue lo script del pacchetto tramite i parametri del valore e del riferimento specificati.

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

Script per l'esecuzione del pacchetto.

ScriptExecute(Boolean, EnvironmentReference)

Esegue lo script del pacchetto tramite il riferimento specificato.

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

Parametri

use32RuntimeOn64
Boolean

True per usare runtime a 32 bit per l'esecuzione in un server a 64 bit; in caso contrario, false.

reference
EnvironmentReference

Riferimento specificato per eseguire il pacchetto.

Restituisce

Script eseguito.

Si applica a

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

Esegue lo script del pacchetto tramite i parametri del valore e del riferimento specificati.

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

Parametri

use32RuntimeOn64
Boolean

True per usare runtime a 32 bit per l'esecuzione in un server a 64 bit; in caso contrario, false.

reference
EnvironmentReference

Riferimento specificato per eseguire il pacchetto.

setValueParameters
Collection<PackageInfo.ExecutionValueParameterSet>

Raccolta dei parametri del valore.

Restituisce

Script eseguito.

Si applica a

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

Script per l'esecuzione del pacchetto.

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

Parametri

use32RuntimeOn64
Boolean

indica se usare runtime a 32 bit per l'esecuzione in un server a 64 bit

reference
EnvironmentReference

Riferimento specificato per eseguire il pacchetto. Se è Null, usare i valori predefiniti dei parametri.

setValueParameters
Collection<PackageInfo.ExecutionValueParameterSet>

Raccolta di set di parametri per impostare i valori per i parametri.

propertyOverrideParameters
Collection<PackageInfo.PropertyOverrideParameterSet>

Raccolta di set di parametri per gli overridi delle proprietà.

Restituisce

Lo script

Si applica a