Share via


TransferSqlServerObjectsTask.CopyDatabaseUsers Property

Gets or sets a Boolean indicating whether database users are transferred 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 CopyDatabaseUsers As Boolean 
    Get 
    Set
'Usage
Dim instance As TransferSqlServerObjectsTask 
Dim value As Boolean 

value = instance.CopyDatabaseUsers

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

Property Value

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

Implements

ITransferSqlServerObjectsTask.CopyDatabaseUsers

Remarks

The default value is true.

See Also

Reference

TransferSqlServerObjectsTask Class

Microsoft.SqlServer.Dts.Tasks.TransferSqlServerObjectsTask Namespace