共用方式為


ITransferErrorMessagesTask.IfObjectExists 屬性

此 API 支援 SQL Server 2012 基礎結構,但無法直接從您的程式碼使用。

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

命名空間:  Microsoft.SqlServer.Dts.Tasks.TransferErrorMessagesTask
組件:  Microsoft.SqlServer.TransferErrorMessagesTask (在 Microsoft.SqlServer.TransferErrorMessagesTask.dll 中)

語法

'宣告
Property IfObjectExists As IfObjectExists 
    Get 
    Set
'用途
Dim instance As ITransferErrorMessagesTask 
Dim value As IfObjectExists 

value = instance.IfObjectExists

instance.IfObjectExists = value
IfObjectExists IfObjectExists { get; set; }
property IfObjectExists IfObjectExists {
    IfObjectExists get ();
    void set (IfObjectExists value);
}
abstract IfObjectExists : IfObjectExists with get, set
function get IfObjectExists () : IfObjectExists 
function set IfObjectExists (value : IfObjectExists)

屬性值

型別:Microsoft.SqlServer.Dts.Tasks.TransferErrorMessagesTask.IfObjectExists
A value from the IfObjectExists enumeration.

請參閱

參考

ITransferErrorMessagesTask 介面

Microsoft.SqlServer.Dts.Tasks.TransferErrorMessagesTask 命名空間