Share via


TransferErrorMessagesTask Class

Provides the ability to copy one or more SQL Server user-defined error messages to another instance of SQL Server. This class cannot be inherited.

Namespace:  Microsoft.SqlServer.Dts.Tasks.TransferErrorMessagesTask
Assembly:  Microsoft.SqlServer.TransferErrorMessagesTask (in Microsoft.SqlServer.TransferErrorMessagesTask.dll)

Syntax

'Declaration
<GuidAttribute("2CF7E415-8548-4fc5-9D63-8B5AE4235385")> _
Public NotInheritable Class TransferErrorMessagesTask _
    Inherits Task _
    Implements ITransferErrorMessagesTask, IDTSBreakpointSite, IDTSSuspend, IDTSComponentPersist
'Usage
Dim instance As TransferErrorMessagesTask
[GuidAttribute("2CF7E415-8548-4fc5-9D63-8B5AE4235385")]
public sealed class TransferErrorMessagesTask : Task, 
    ITransferErrorMessagesTask, IDTSBreakpointSite, IDTSSuspend, IDTSComponentPersist
[GuidAttribute(L"2CF7E415-8548-4fc5-9D63-8B5AE4235385")]
public ref class TransferErrorMessagesTask sealed : public Task, 
    ITransferErrorMessagesTask, IDTSBreakpointSite, IDTSSuspend, IDTSComponentPersist
[<SealedAttribute>]
[<GuidAttribute("2CF7E415-8548-4fc5-9D63-8B5AE4235385")>]
type TransferErrorMessagesTask =  
    class
        inherit Task
        interface ITransferErrorMessagesTask
        interface IDTSBreakpointSite
        interface IDTSSuspend
        interface IDTSComponentPersist
    end
public final class TransferErrorMessagesTask extends Task implements ITransferErrorMessagesTask, IDTSBreakpointSite, IDTSSuspend, IDTSComponentPersist

Remarks

A user-defined error message is a message whose ID is equal to or greater than 50000. All user-defined error messages are stored in the sysmessages table in the master database.

Inheritance Hierarchy

System.Object
  Microsoft.SqlServer.Dts.Runtime.DtsObject
    Microsoft.SqlServer.Dts.Runtime.Task
      Microsoft.SqlServer.Dts.Tasks.TransferErrorMessagesTask.TransferErrorMessagesTask

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.