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 命名空间