Share via


TransferSqlServerObjectsTask.CopySqlServerLogins Property

Gets or sets a Boolean indicating whether SQL Server logins are included in the transfer from the source to the target database.

Namespace:  Microsoft.SqlServer.Dts.Tasks.TransferSqlServerObjectsTask
Assembly:  Microsoft.SqlServer.TransferSqlServerObjectsTask (in Microsoft.SqlServer.TransferSqlServerObjectsTask.dll)

Syntax

'Declaration
Public Property CopySqlServerLogins As Boolean
    Get
    Set
'Usage
Dim instance As TransferSqlServerObjectsTask
Dim value As Boolean

value = instance.CopySqlServerLogins

instance.CopySqlServerLogins = value
public bool CopySqlServerLogins { get; set; }
public:
virtual property bool CopySqlServerLogins {
    bool get () sealed;
    void set (bool value) sealed;
}
abstract CopySqlServerLogins : bool with get, set
override CopySqlServerLogins : bool with get, set
final function get CopySqlServerLogins () : boolean
final function set CopySqlServerLogins (value : boolean)

Property Value

Type: System.Boolean
true indicates that SQL Server logins are transferred from the source to the target database.

Implements

ITransferSqlServerObjectsTask.CopySqlServerLogins

Remarks

The default value is false.