共用方式為


TransferLoginsTask.CopySids Property

Gets or setsa Boolean indicating whether the security identifiers associated with the logins should be copied to the destination.

命名空間: Microsoft.SqlServer.Dts.Tasks.TransferLoginsTask
組件: Microsoft.SqlServer.TransferLoginsTask (in microsoft.sqlserver.transferloginstask.dll)

語法

'宣告
Public Property CopySids As Boolean
public bool CopySids { get; set; }
public:
virtual property bool CopySids {
    bool get () sealed;
    void set (bool value) sealed;
}
/** @property */
public final boolean get_CopySids ()

/** @property */
public final void set_CopySids (boolean value)
public final function get CopySids () : boolean

public final function set CopySids (value : boolean)

屬性值

true if the security identifiers associated with the logins are copied.

備註

If this task is used in conjunction with attaching a database, this CopySids property must be true or the logins will not be recognized by the newly attached database.

執行緒安全性

Any public static (Shared in Microsoft Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

平台

開發平台

如需受支援的平台清單,請參閱<安裝 SQL Server 2005 的硬體和軟體需求>。

目標平台

如需受支援的平台清單,請參閱<安裝 SQL Server 2005 的硬體和軟體需求>。

請參閱

參考

TransferLoginsTask Class
TransferLoginsTask Members
Microsoft.SqlServer.Dts.Tasks.TransferLoginsTask Namespace