共用方式為


ITransferJobsTask.IfObjectExists 屬性

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

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

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

語法

'宣告
Property IfObjectExists As IfObjectExists 
    Get 
    Set
'用途
Dim instance As ITransferJobsTask 
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.TransferJobsTask.IfObjectExists
A value from the IfObjectExists enumeration.

請參閱

參考

ITransferJobsTask 介面

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