TaskHostClass Classe
Definizione
Importante
Alcune informazioni sono relative alla release non definitiva del prodotto, che potrebbe subire modifiche significative prima della release definitiva. Microsoft non riconosce alcuna garanzia, espressa o implicita, in merito alle informazioni qui fornite.
Per altre informazioni, vedere TaskHost.
public ref class TaskHostClass : Microsoft::SqlServer::Dts::Runtime::Wrapper::IDTSBreakpointSite100, Microsoft::SqlServer::Dts::Runtime::Wrapper::IDTSContainer100, Microsoft::SqlServer::Dts::Runtime::Wrapper::IDTSEventsProvider100, Microsoft::SqlServer::Dts::Runtime::Wrapper::IDTSExecutable100, Microsoft::SqlServer::Dts::Runtime::Wrapper::IDTSExecutionMetrics100, Microsoft::SqlServer::Dts::Runtime::Wrapper::IDTSName100, Microsoft::SqlServer::Dts::Runtime::Wrapper::IDTSPersist100, Microsoft::SqlServer::Dts::Runtime::Wrapper::IDTSPropertiesProvider100, Microsoft::SqlServer::Dts::Runtime::Wrapper::IDTSRuntimeObject100, Microsoft::SqlServer::Dts::Runtime::Wrapper::IDTSTaskHost100, Microsoft::SqlServer::Dts::Runtime::Wrapper::TaskHost
[System.Runtime.InteropServices.ClassInterface(System.Runtime.InteropServices.ClassInterfaceType.None)]
[System.Runtime.InteropServices.Guid("88144A89-05AE-4303-80F3-A9C83116A367")]
[System.Runtime.InteropServices.TypeLibType(System.Runtime.InteropServices.TypeLibTypeFlags.FCanCreate)]
public class TaskHostClass : Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSBreakpointSite100, Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSContainer100, Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSEventsProvider100, Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSExecutable100, Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSExecutionMetrics100, Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSName100, Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSPersist100, Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSPropertiesProvider100, Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSRuntimeObject100, Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSTaskHost100, Microsoft.SqlServer.Dts.Runtime.Wrapper.TaskHost
[System.Runtime.InteropServices.ClassInterface(System.Runtime.InteropServices.ClassInterfaceType.None)]
[System.Runtime.InteropServices.TypeLibType(System.Runtime.InteropServices.TypeLibTypeFlags.FCanCreate)]
[System.Runtime.InteropServices.Guid("81262D7B-A471-4376-9207-A942CB4AFF67")]
public class TaskHostClass : Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSBreakpointSite100, Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSContainer100, Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSEventsProvider100, Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSExecutable100, Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSExecutionMetrics100, Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSName100, Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSPersist100, Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSPropertiesProvider100, Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSRuntimeObject100, Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSTaskHost100, Microsoft.SqlServer.Dts.Runtime.Wrapper.TaskHost
[System.Runtime.InteropServices.ClassInterface(System.Runtime.InteropServices.ClassInterfaceType.None)]
[System.Runtime.InteropServices.TypeLibType(System.Runtime.InteropServices.TypeLibTypeFlags.FCanCreate)]
[System.Runtime.InteropServices.Guid("72A2DB98-0F77-4014-98F6-8B200D9C083D")]
public class TaskHostClass : Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSBreakpointSite100, Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSContainer100, Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSEventsProvider100, Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSExecutable100, Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSExecutionMetrics100, Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSName100, Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSPersist100, Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSPropertiesProvider100, Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSRuntimeObject100, Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSTaskHost100, Microsoft.SqlServer.Dts.Runtime.Wrapper.TaskHost
[<System.Runtime.InteropServices.ClassInterface(System.Runtime.InteropServices.ClassInterfaceType.None)>]
[<System.Runtime.InteropServices.Guid("88144A89-05AE-4303-80F3-A9C83116A367")>]
[<System.Runtime.InteropServices.TypeLibType(System.Runtime.InteropServices.TypeLibTypeFlags.FCanCreate)>]
type TaskHostClass = class
interface TaskHost
interface IDTSObjectHost100
interface IDTSTaskHost100
interface IDTSContainer100
interface IDTSExecutable100
interface IDTSEventsProvider100
interface IDTSExecutionMetrics100
interface IDTSPropertiesProvider100
interface IDTSName100
interface IDTSBreakpointSite100
interface IDTSSuspend100
interface IDTSPersist100
interface IDTSRuntimeObject100
[<System.Runtime.InteropServices.ClassInterface(System.Runtime.InteropServices.ClassInterfaceType.None)>]
[<System.Runtime.InteropServices.TypeLibType(System.Runtime.InteropServices.TypeLibTypeFlags.FCanCreate)>]
[<System.Runtime.InteropServices.Guid("81262D7B-A471-4376-9207-A942CB4AFF67")>]
type TaskHostClass = class
interface TaskHost
interface IDTSObjectHost100
interface IDTSTaskHost100
interface IDTSContainer100
interface IDTSExecutable100
interface IDTSEventsProvider100
interface IDTSExecutionMetrics100
interface IDTSPropertiesProvider100
interface IDTSName100
interface IDTSBreakpointSite100
interface IDTSSuspend100
interface IDTSPersist100
interface IDTSRuntimeObject100
[<System.Runtime.InteropServices.ClassInterface(System.Runtime.InteropServices.ClassInterfaceType.None)>]
[<System.Runtime.InteropServices.TypeLibType(System.Runtime.InteropServices.TypeLibTypeFlags.FCanCreate)>]
[<System.Runtime.InteropServices.Guid("72A2DB98-0F77-4014-98F6-8B200D9C083D")>]
type TaskHostClass = class
interface TaskHost
interface IDTSObjectHost100
interface IDTSTaskHost100
interface IDTSContainer100
interface IDTSExecutable100
interface IDTSEventsProvider100
interface IDTSExecutionMetrics100
interface IDTSPropertiesProvider100
interface IDTSName100
interface IDTSBreakpointSite100
interface IDTSSuspend100
interface IDTSPersist100
interface IDTSRuntimeObject100
Public Class TaskHostClass
Implements IDTSBreakpointSite100, IDTSContainer100, IDTSEventsProvider100, IDTSExecutable100, IDTSExecutionMetrics100, IDTSName100, IDTSPersist100, IDTSPropertiesProvider100, IDTSRuntimeObject100, IDTSTaskHost100, TaskHost
- Ereditarietà
-
TaskHostClass
- Attributi
- Implementazioni
Costruttori
| Nome | Descrizione |
|---|---|
| TaskHostClass() |
Inizializza una nuova istanza della classe TaskHostClass. |
Proprietà
| Nome | Descrizione |
|---|---|
| ApartmentThreaded |
Per altre informazioni, vedere TaskHost. |
| CreationName |
Ottiene la stringa che viene usata per creare un TaskHostClass oggetto. |
| DebugMode |
Ottiene o imposta un valore che indica se l'oggetto TaskHostClass è in modalità debug. |
| DelayValidation |
Ottiene o imposta un valore che indica se la validazione del compito è ritardata fino al momento dell'esecuzione. |
| Description |
Ottiene o imposta la descrizione dell'oggetto TaskHostClass . |
| Disable |
Ottiene o imposta un valore che indica se l'oggetto TaskHostClass è disabilitato. |
| DisableEventHandlers |
Ottiene o imposta un valore che indica se i gestori di eventi sul task sono disabilitati. |
| EventHandlers |
Ottiene una collezione di oggetti gestori di eventi. |
| EventInfos |
Ottiene una collezione di oggetti EventInfo. |
| ExecutionDuration |
Ottiene un valore che indica il tempo che il container ha impiegato nell'esecuzione. |
| ExecutionResult |
Ottiene un valore che indica il successo o il fallimento dell'esecuzione dell'oggetto TaskHostClass . |
| ExecutionStatus |
Ottiene un valore che indica lo stato attuale dell'esecuzione dell'oggetto TaskHostClass al momento della chiamata. |
| ExecutionValue |
Ottiene il risultato dell'esecuzione del compito. |
| ExecValueVariable |
Ottiene o imposta la variabile personalizzata che contiene il valore di esecuzione del compito. |
| FailPackageOnFailure |
Riceve o imposta un valore che indica se il pacchetto fallisce quando un contenitore figlio fallisce. |
| FailParentOnFailure |
Ottiene o imposta un valore che indica se il contenitore genitore fallisce quando un container figlio fallisce. |
| ForcedExecutionValue |
Ottiene o imposta un oggetto che contiene un valore definito dal contenitore. |
| ForceExecutionResult |
Ottiene o imposta il risultato di esecuzione del container. |
| ForceExecutionValue |
Ottiene o imposta un valore che indica se il valore di esecuzione del contenitore deve essere forzato a contenere un valore particolare. |
| HostType |
Ottiene il valore dall'enumerazione DTSObjectHostType che descrive l'host del contenitore. |
| ID |
Ottiene un GUID che identifica i DTSForcedExecResult. |
| IDTSContainer100_DelayValidation |
Ottiene o imposta un valore che indica se la validazione è in ritardo. |
| IDTSSuspend100_SuspendRequired |
Ottiene o imposta un valore che indica se il compito deve sospendere quando si incontra un punto di interruzione. |
| InnerObject |
Ottiene l'oggetto contenuto dal TaskHostClass. |
| IsDefaultLocaleID |
Riceve un valore che indica se il container utilizza la località predefinita. |
| IsolationLevel |
Ottiene il livello di isolamento del TaskHostClass. |
| LocaleID |
Ottiene o imposta l'id locale da usare quando l'oggetto TaskHostClass viene eseguito. |
| LogEntryInfos |
Ottiene una collezione di IDTSLogEntryInfos100 oggetti. |
| LoggingMode |
Ottiene o imposta la modalità di logging del container. |
| LoggingOptions |
Ottiene un oggetto che contiene proprietà che indicano la risorsa di filtraggio e logging per i container. |
| MaximumErrorCount |
Ottiene o imposta un valore che indica il numero massimo di errori. |
| Name |
Ottiene o imposta il nome dell'oggetto TaskHostClass. |
| Parent |
Prende il contenitore genitore. |
| Properties |
Ottiene una IDTSProperties100 collezione che contiene le proprietà associate al compito. |
| StartTime |
Ottiene l'orario in cui il contenitore ha iniziato a essere eseguito. |
| StopTime |
Ottiene il momento in cui il container ha terminato l'esecuzione. |
| SuspendRequired |
Ottiene o imposta un valore che indica se il compito deve sospendere quando si incontra un punto di interruzione. |
| TransactionOption |
Ottiene o imposta un'enumerazione DTSTransactionOption che indica se il contenitore partecipa alle transazioni. |
| VariableDispenser |
Ottiene un IDTSVariableDispenser100 oggetto in modo che le variabili associate al contenitore possano essere bloccate. |
| Variables |
Ottiene una collezione che contiene le variabili associate a questo contenitore. |
Metodi
| Nome | Descrizione |
|---|---|
| AcceptBreakpointManager(IDTSBreakpointManager100) |
Questo metodo viene chiamato dal motore di esecuzione quando viene creato un compito o un container. |
| ComputeExpressions(Boolean) |
Calcola le espressioni dell'oggetto TaskHostClass . |
| Execute(IDTSConnections100, IDTSVariables100, IDTSEvents100, IDTSLogging100, Object) |
Esegue l'applicazione. |
| GetExpression(String) |
Restituisce una stringa che contiene l'espressione per la proprietà specificata. |
| GetParentID() |
Restituisce l'identificatore genitore dell'oggetto TaskHostClass . |
| IDTSContainer100_get_DelayValidation() |
Per altre informazioni, vedere TaskHost. |
| IDTSContainer100_set_DelayValidation(Boolean) |
Per altre informazioni, vedere TaskHost. |
| IDTSSuspend100_get_SuspendRequired() |
Per altre informazioni, vedere TaskHost. |
| IDTSSuspend100_ResumeExecution() |
Riprende la sospensione dell'esecuzione. |
| IDTSSuspend100_set_SuspendRequired(Boolean) |
Per altre informazioni, vedere TaskHost. |
| IDTSSuspend100_SuspendExecution() |
Sospende l'esecuzione. |
| LoadFromXML(Object, IDTSEvents100) |
Carica un pacchetto salvato in formato XML. |
| RegenerateID() |
Crea un nuovo GUID per la sequenza. |
| ResumeExecution() |
Riprende l'esecuzione del compito dopo la pausa. |
| SaveToXML(Object, Object, IDTSEvents100) |
Salva il pacchetto in formato XML. |
| SetExpression(String, String) |
Assegna l'espressione specificata alla proprietà. |
| SuspendExecution() |
Chiamato quando l'eseguibile deve essere sospeso. |
| Validate(IDTSConnections100, IDTSVariables100, IDTSEvents100, IDTSLogging100) |
Permette al pacchetto di determinare se contiene impostazioni non valide che ne impediranno l'esecuzione con successo. |