TransferLoginsTask.CopySids Property

 

Applies To: SQL Server 2016 Preview

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

public bool CopySids { get; set; }
public:
property bool CopySids {
    virtual bool get() sealed;
    virtual void set(bool value) sealed;
}
abstract CopySids : bool with get, set
override CopySids : bool with get, set
Public Property CopySids As Boolean

Property Value

Type: System.Boolean

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

Implements

ITransferLoginsTask.CopySids

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.

See Also

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

Return to top