Partilhar via


Classe TransferErrorMessagesTask

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 (em Microsoft.SqlServer.TransferErrorMessagesTask.dll)

Sintaxe

'Declaração
<GuidAttribute("2CF7E415-8548-4fc5-9D63-8B5AE4235385")> _
Public NotInheritable Class TransferErrorMessagesTask _
    Inherits Task _
    Implements ITransferErrorMessagesTask, IDTSBreakpointSite, IDTSSuspend, IDTSComponentPersist
'Uso
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

Comentários

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.

Hierarquia de herança

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

Segurança de thread

Quaisquer membros static (Shared no Visual Basic) públicos deste tipo são thread-safe. Não há garantia de que qualquer membro de instância seja thread-safe.