Compartir a través de


ExpressionTask Clase

Definición

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
Herencia
ExpressionTask
Atributos
Implementaciones

Constructores

ExpressionTask()

Propiedades

DebugMode
ExecutionValue

Al valor de ejecución se le asigna el nombre del nuevo archivo.

Expression
SuspendRequired
TargetServerVersion (Heredado de Task)
Version

*** Miembro desusado; ver Comentarios. *** Devuelve la versión de la tarea. Esta propiedad es de solo lectura.

(Heredado de Task)

Métodos

AcceptBreakpointManager(BreakpointManager)
CanUpdate(String)

*** Miembro desusado; ver Comentarios. Valor booleano que indica si el nuevo xml del paquete puede actualizar el XML del paquete anterior.

(Heredado de Task)
Equals(Object)

Determina si dos instancias de objeto son iguales.

(Heredado de DtsObject)
Execute(Connections, VariableDispenser, IDTSComponentEvents, IDTSLogging, Object)
GetConnectionID(Connections, String)

Obtiene una cadena que contiene el identificador de la conexión.

(Heredado de Task)
GetConnectionName(Connections, String)

Obtiene una cadena que contiene el nombre de la conexión.

(Heredado de Task)
GetHashCode()

Devuelve el código hash de esta instancia.

(Heredado de DtsObject)
InitializeTask(Connections, VariableDispenser, IDTSInfoEvents, IDTSLogging, EventInfos, LogEntryInfos, ObjectReferenceTracker)

Inicializa las propiedades asociadas a la tarea. El motor en tiempo de ejecución llama a este método, que no se usa en el código.

(Heredado de Task)
LoadFromXML(XmlElement, IDTSInfoEvents)
ResumeExecution()
SaveToXML(XmlDocument, IDTSInfoEvents)
SuspendExecution()
Update(String)

*** Miembro desusado; ver Comentarios. Este método actualiza el XML del paquete antiguo con el nuevo XML de paquete si CanUpdate(String) se establece en true.

(Heredado de Task)
Validate(Connections, VariableDispenser, IDTSComponentEvents, IDTSLogging)
ValidateExpression(VariableDispenser)

Se aplica a