共用方式為


ITransferLoginsTask.IfObjectExists 屬性

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

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

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

語法

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

請參閱

參考

ITransferLoginsTask 介面

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