Share via


TransferErrorMessagesTask.IfObjectExists Property

Gets or sets a value from the IfObjectExists enumeration indicating indicating if the task should fail, overwrite, or skip the transfer of the errror message if an error message with the same name exists at the destination.

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

Syntax

'Declaration
Public Property IfObjectExists As IfObjectExists 
    Get 
    Set
'Usage
Dim instance As TransferErrorMessagesTask 
Dim value As IfObjectExists 

value = instance.IfObjectExists

instance.IfObjectExists = value
public IfObjectExists IfObjectExists { get; set; }
public:
virtual property IfObjectExists IfObjectExists {
    IfObjectExists get () sealed;
    void set (IfObjectExists value) sealed;
}
abstract IfObjectExists : IfObjectExists with get, set 
override IfObjectExists : IfObjectExists with get, set
final function get IfObjectExists () : IfObjectExists 
final function set IfObjectExists (value : IfObjectExists)

Property Value

Type: Microsoft.SqlServer.Dts.Tasks.TransferErrorMessagesTask.IfObjectExists
A value from the IfObjectExists enumeration indicating whether the task should fail, ignore the existing error message, or skip the transfer of the error message, if an error message of the same name exists at the destination.

Implements

ITransferErrorMessagesTask.IfObjectExists

See Also

Reference

TransferErrorMessagesTask Class

Microsoft.SqlServer.Dts.Tasks.TransferErrorMessagesTask Namespace