Share via


TransferLoginsTask.CopySids Property

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

Namespace: Microsoft.SqlServer.Dts.Tasks.TransferLoginsTask
Assembly: Microsoft.SqlServer.TransferLoginsTask (in microsoft.sqlserver.transferloginstask.dll)

Syntax

'Declaration
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)

Property Value

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

Remarks

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.

Thread Safety

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.

Platforms

Development Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server 2005.

Target Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server 2005.

See Also

Reference

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