Bagikan melalui


TaskHostClass Kelas

Definisi

Untuk informasi selengkapnya, lihat 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
Warisan
TaskHostClass
Atribut
Penerapan

Konstruktor

TaskHostClass()

Menginisialisasi instans baru kelas TaskHostClass.

Properti

ApartmentThreaded

Untuk informasi selengkapnya, lihat TaskHost.

CreationName

Mendapatkan string yang digunakan untuk membuat TaskHostClass objek.

DebugMode

Mendapatkan atau menetapkan nilai yang menunjukkan apakah TaskHostClass objek berada dalam mode debug.

DelayValidation

Mendapatkan atau menetapkan nilai yang menunjukkan apakah validasi tugas tertunda hingga durasi.

Description

Mendapatkan atau mengatur deskripsi TaskHostClass objek.

Disable

Mendapatkan atau menetapkan nilai yang menunjukkan apakah objek dinonaktifkan TaskHostClass .

DisableEventHandlers

Mendapatkan atau menetapkan nilai yang menunjukkan apakah penanganan aktivitas pada tugas dinonaktifkan.

EventHandlers

Mendapatkan kumpulan objek penanganan aktivitas.

EventInfos

Mendapatkan kumpulan objek EventInfo.

ExecutionDuration

Mendapatkan nilai yang menunjukkan jumlah waktu yang dihabiskan kontainer dalam eksekusi.

ExecutionResult

Mendapatkan nilai yang menunjukkan keberhasilan atau kegagalan eksekusi TaskHostClass objek.

ExecutionStatus

Mendapatkan nilai yang menunjukkan status eksekusi TaskHostClass objek saat ini pada saat panggilan.

ExecutionValue

Mendapatkan hasil eksekusi tugas.

ExecValueVariable

Mendapatkan atau mengatur variabel kustom yang berisi nilai eksekusi tugas.

FailPackageOnFailure

Mendapatkan atau menetapkan nilai yang menunjukkan apakah paket gagal saat kontainer anak gagal.

FailParentOnFailure

Mendapatkan atau menetapkan nilai yang menunjukkan apakah kontainer induk gagal saat kontainer anak gagal.

ForcedExecutionValue

Mendapatkan atau mengatur objek yang berisi nilai yang ditentukan kontainer.

ForceExecutionResult

Mendapatkan atau mengatur hasil eksekusi kontainer.

ForceExecutionValue

Mendapatkan atau menetapkan nilai yang menunjukkan apakah nilai eksekusi kontainer harus dipaksa untuk berisi nilai tertentu.

HostType

Mendapatkan nilai dari DTSObjectHostType enumerasi yang menjelaskan host kontainer.

ID

Mendapatkan GUID yang mengidentifikasi DTSForcedExecResult.

IDTSContainer100_DelayValidation

Mendapatkan atau menetapkan nilai yang menunjukkan apakah validasi tertunda.

IDTSSuspend100_SuspendRequired

Mendapatkan atau menetapkan nilai yang menunjukkan apakah tugas harus ditangguhkan saat menemukan titik henti.

InnerObject

Mendapatkan objek yang dimuat TaskHostClassoleh .

IsDefaultLocaleID

Mendapatkan nilai yang menunjukkan apakah kontainer menggunakan lokal default.

IsolationLevel

Mendapatkan tingkat isolasi .TaskHostClass

LocaleID

Mendapatkan atau mengatur id lokal yang akan digunakan saat TaskHostClass objek dijalankan.

LogEntryInfos

Mendapatkan koleksi IDTSLogEntryInfos100 objek.

LoggingMode

Mendapatkan atau mengatur mode pengelogan kontainer.

LoggingOptions

Mendapatkan objek yang berisi properti yang menunjukkan pemfilteran dan pengelogan sumber daya untuk kontainer.

MaximumErrorCount

Mendapatkan atau menetapkan nilai yang menunjukkan jumlah maksimum kesalahan.

Name

Mendapatkan atau mengatur nama TaskHostClass.

Parent

Mendapatkan kontainer induk.

Properties

IDTSProperties100 Mendapatkan koleksi yang berisi properti yang terkait dengan tugas.

StartTime

Mendapatkan waktu kontainer memulai eksekusi.

StopTime

Mendapatkan waktu kontainer mengakhiri eksekusi.

SuspendRequired

Mendapatkan atau menetapkan nilai yang menunjukkan apakah tugas harus ditangguhkan saat menemukan titik henti.

TransactionOption

Mendapatkan atau menetapkan DTSTransactionOption enumerasi yang menunjukkan apakah kontainer berpartisipasi dalam transaksi.

VariableDispenser

IDTSVariableDispenser100 Mendapatkan objek sehingga variabel yang terkait dengan kontainer dapat dikunci.

Variables

Mendapatkan koleksi yang berisi variabel yang terkait dengan kontainer ini.

Metode

AcceptBreakpointManager(IDTSBreakpointManager100)

Metode ini dipanggil oleh mesin run-time saat tugas atau kontainer dibuat.

ComputeExpressions(Boolean)

Menghitung ekspresi TaskHostClass objek.

Execute(IDTSConnections100, IDTSVariables100, IDTSEvents100, IDTSLogging100, Object)

Menjalankan aplikasi.

GetExpression(String)

Mengembalikan string yang berisi ekspresi untuk properti yang ditentukan.

GetParentID()

Mengembalikan pengidentifikasi TaskHostClass induk objek.

IDTSContainer100_get_DelayValidation()

Untuk informasi selengkapnya, lihat TaskHost.

IDTSContainer100_set_DelayValidation(Boolean)

Untuk informasi selengkapnya, lihat TaskHost.

IDTSSuspend100_get_SuspendRequired()

Untuk informasi selengkapnya, lihat TaskHost.

IDTSSuspend100_ResumeExecution()

Melanjutkan eksekusi yang ditangguhkan.

IDTSSuspend100_set_SuspendRequired(Boolean)

Untuk informasi selengkapnya, lihat TaskHost.

IDTSSuspend100_SuspendExecution()

Menangguhkan eksekusi.

LoadFromXML(Object, IDTSEvents100)

Memuat paket yang disimpan sebagai format XML.

RegenerateID()

Membuat GUID baru untuk urutan tersebut.

ResumeExecution()

Melanjutkan eksekusi tugas setelah jeda.

SaveToXML(Object, Object, IDTSEvents100)

Menyimpan paket ke format XML.

SetExpression(String, String)

Menetapkan ekspresi yang ditentukan ke properti .

SuspendExecution()

Dipanggil ketika executable perlu ditangguhkan.

Validate(IDTSConnections100, IDTSVariables100, IDTSEvents100, IDTSLogging100)

Memungkinkan paket untuk menentukan apakah paket berisi pengaturan yang tidak valid yang akan mencegahnya untuk berhasil dijalankan.

Berlaku untuk