共用方式為


IfObjectExists 屬性

Gets or sets a value from the IfObjectExists enumeration indicating 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 中)

語法

'宣告
Public Property IfObjectExists As IfObjectExists
    Get
    Set
'用途
Dim instance As TransferJobsTask
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)

屬性值

型別:Microsoft.SqlServer.Dts.Tasks.TransferJobsTask. . :: . .IfObjectExists
A value from the IfObjectExists enumeration indicating whether the task should fail, ignore the existing job, or skip the transfer of the job, if a job of the same name exists at the destination.

實作

ITransferJobsTask. . :: . .IfObjectExists