Bagikan melalui


ExpressionTask Kelas

Definisi

public ref class ExpressionTask : Microsoft::SqlServer::Dts::Runtime::Task, Microsoft::SqlServer::Dts::Runtime::IDTSBreakpointSite, Microsoft::SqlServer::Dts::Runtime::IDTSComponentPersist
[Microsoft.SqlServer.Dts.Runtime.DtsTask(HelpKeyword="sql13.dts.designer.expressiontask.F1", IconResource="TaskIcon", LocalizationType=typeof(Microsoft.SqlServer.Dts.Tasks.ExpressionTask.SR), SamplesTag="SsisExpressionTask", TaskContact="Expression Task;Microsoft Corporation; SQL Server 2016; © 2015 Microsoft Corporation; All Rights Reserved;http://www.microsoft.com/sql/support/default.asp;1", TaskType="DTS90", UITypeName="Microsoft.SqlServer.Dts.Tasks.ExpressionTask.ExpressionTaskUI, Microsoft.SqlServer.ExpressionTaskUI, Version=13.0.0.0, Culture=Neutral, PublicKeyToken=89845dcd8080cc91")]
[System.Runtime.InteropServices.Guid("35465A03-2269-4FCC-83A8-68B2014650F7")]
public class ExpressionTask : Microsoft.SqlServer.Dts.Runtime.Task, Microsoft.SqlServer.Dts.Runtime.IDTSBreakpointSite, Microsoft.SqlServer.Dts.Runtime.IDTSComponentPersist
[Microsoft.SqlServer.Dts.Runtime.DtsTask(HelpKeyword="sql13.dts.designer.expressiontask.F1", IconResource="TaskIcon", LocalizationType=typeof(Microsoft.SqlServer.Dts.Tasks.ExpressionTask.SR), SamplesTag="SsisExpressionTask", TaskContact="Expression Task;Microsoft Corporation; SQL Server 2017; © 2017 Microsoft Corporation; All Rights Reserved;http://www.microsoft.com/sql/support/default.asp;1", TaskType="DTS90", UITypeName="Microsoft.SqlServer.Dts.Tasks.ExpressionTask.ExpressionTaskUI, Microsoft.SqlServer.ExpressionTaskUI, Version=14.0.0.0, Culture=Neutral, PublicKeyToken=89845dcd8080cc91")]
[System.Runtime.InteropServices.Guid("5BEF28F6-024B-484E-9F1C-8A872D85B009")]
public class ExpressionTask : Microsoft.SqlServer.Dts.Runtime.Task, Microsoft.SqlServer.Dts.Runtime.IDTSBreakpointSite, Microsoft.SqlServer.Dts.Runtime.IDTSComponentPersist
[Microsoft.SqlServer.Dts.Runtime.DtsTask(HelpKeyword="sql13.dts.designer.expressiontask.F1", IconResource="TaskIcon", LocalizationType=typeof(Microsoft.SqlServer.Dts.Tasks.ExpressionTask.SR), SamplesTag="SsisExpressionTask", TaskContact="Expression Task;Microsoft Corporation; SQL Server 2019; © 2019 Microsoft Corporation; All Rights Reserved;http://www.microsoft.com/sql/support/default.asp;1", TaskType="DTS90", UITypeName="Microsoft.SqlServer.Dts.Tasks.ExpressionTask.ExpressionTaskUI, Microsoft.SqlServer.ExpressionTaskUI, Version=15.0.0.0, Culture=Neutral, PublicKeyToken=89845dcd8080cc91")]
[System.Runtime.InteropServices.Guid("D0C70352-CD3D-45E7-A882-8FA0BC2C6506")]
public class ExpressionTask : Microsoft.SqlServer.Dts.Runtime.Task, Microsoft.SqlServer.Dts.Runtime.IDTSBreakpointSite, Microsoft.SqlServer.Dts.Runtime.IDTSComponentPersist
[<Microsoft.SqlServer.Dts.Runtime.DtsTask(HelpKeyword="sql13.dts.designer.expressiontask.F1", IconResource="TaskIcon", LocalizationType=typeof(Microsoft.SqlServer.Dts.Tasks.ExpressionTask.SR), SamplesTag="SsisExpressionTask", TaskContact="Expression Task;Microsoft Corporation; SQL Server 2016; © 2015 Microsoft Corporation; All Rights Reserved;http://www.microsoft.com/sql/support/default.asp;1", TaskType="DTS90", UITypeName="Microsoft.SqlServer.Dts.Tasks.ExpressionTask.ExpressionTaskUI, Microsoft.SqlServer.ExpressionTaskUI, Version=13.0.0.0, Culture=Neutral, PublicKeyToken=89845dcd8080cc91")>]
[<System.Runtime.InteropServices.Guid("35465A03-2269-4FCC-83A8-68B2014650F7")>]
type ExpressionTask = class
    inherit Task
    interface IDTSBreakpointSite
    interface IDTSSuspend
    interface IDTSComponentPersist
[<Microsoft.SqlServer.Dts.Runtime.DtsTask(HelpKeyword="sql13.dts.designer.expressiontask.F1", IconResource="TaskIcon", LocalizationType=typeof(Microsoft.SqlServer.Dts.Tasks.ExpressionTask.SR), SamplesTag="SsisExpressionTask", TaskContact="Expression Task;Microsoft Corporation; SQL Server 2017; © 2017 Microsoft Corporation; All Rights Reserved;http://www.microsoft.com/sql/support/default.asp;1", TaskType="DTS90", UITypeName="Microsoft.SqlServer.Dts.Tasks.ExpressionTask.ExpressionTaskUI, Microsoft.SqlServer.ExpressionTaskUI, Version=14.0.0.0, Culture=Neutral, PublicKeyToken=89845dcd8080cc91")>]
[<System.Runtime.InteropServices.Guid("5BEF28F6-024B-484E-9F1C-8A872D85B009")>]
type ExpressionTask = class
    inherit Task
    interface IDTSBreakpointSite
    interface IDTSSuspend
    interface IDTSComponentPersist
[<Microsoft.SqlServer.Dts.Runtime.DtsTask(HelpKeyword="sql13.dts.designer.expressiontask.F1", IconResource="TaskIcon", LocalizationType=typeof(Microsoft.SqlServer.Dts.Tasks.ExpressionTask.SR), SamplesTag="SsisExpressionTask", TaskContact="Expression Task;Microsoft Corporation; SQL Server 2019; © 2019 Microsoft Corporation; All Rights Reserved;http://www.microsoft.com/sql/support/default.asp;1", TaskType="DTS90", UITypeName="Microsoft.SqlServer.Dts.Tasks.ExpressionTask.ExpressionTaskUI, Microsoft.SqlServer.ExpressionTaskUI, Version=15.0.0.0, Culture=Neutral, PublicKeyToken=89845dcd8080cc91")>]
[<System.Runtime.InteropServices.Guid("D0C70352-CD3D-45E7-A882-8FA0BC2C6506")>]
type ExpressionTask = class
    inherit Task
    interface IDTSBreakpointSite
    interface IDTSSuspend
    interface IDTSComponentPersist
Public Class ExpressionTask
Inherits Task
Implements IDTSBreakpointSite, IDTSComponentPersist
Warisan
ExpressionTask
Atribut
Penerapan

Konstruktor

ExpressionTask()

Properti

DebugMode
ExecutionValue

Nilai eksekusi diberi nama file baru

Expression
SuspendRequired
TargetServerVersion (Diperoleh dari Task)
Version

Anggota tidak digunakan lagi; lihat Keterangan. Mengembalikan versi tugas. Properti ini bersifat hanya baca.

(Diperoleh dari Task)

Metode

AcceptBreakpointManager(BreakpointManager)
CanUpdate(String)

Anggota tidak digunakan lagi; lihat Keterangan. Boolean yang menunjukkan apakah XML paket baru dapat memperbarui XML paket lama.

(Diperoleh dari Task)
Equals(Object)

Menentukan apakah dua instans objek sama.

(Diperoleh dari DtsObject)
Execute(Connections, VariableDispenser, IDTSComponentEvents, IDTSLogging, Object)
GetConnectionID(Connections, String)

Mendapatkan String yang berisi ID koneksi.

(Diperoleh dari Task)
GetConnectionName(Connections, String)

Mendapatkan String yang berisi nama koneksi.

(Diperoleh dari Task)
GetHashCode()

Mengembalikan kode hash untuk instans ini.

(Diperoleh dari DtsObject)
InitializeTask(Connections, VariableDispenser, IDTSInfoEvents, IDTSLogging, EventInfos, LogEntryInfos, ObjectReferenceTracker)

Menginisialisasi properti yang terkait dengan tugas. Metode ini dipanggil oleh runtime dan tidak digunakan dalam kode.

(Diperoleh dari Task)
LoadFromXML(XmlElement, IDTSInfoEvents)
ResumeExecution()
SaveToXML(XmlDocument, IDTSInfoEvents)
SuspendExecution()
Update(String)

Anggota tidak digunakan lagi; lihat Keterangan. Metode ini memperbarui XML paket lama dengan XML paket baru jika CanUpdate(String) diatur ke true.

(Diperoleh dari Task)
Validate(Connections, VariableDispenser, IDTSComponentEvents, IDTSLogging)
ValidateExpression(VariableDispenser)

Berlaku untuk