Proprietà TransferSqlServerObjectsTask.CopyDatabaseUsers

Gets or sets a Boolean indicating whether database users are transferred from the source to the target database.

Spazio dei nomi  Microsoft.SqlServer.Dts.Tasks.TransferSqlServerObjectsTask
Assembly:  Microsoft.SqlServer.TransferSqlServerObjectsTask (in Microsoft.SqlServer.TransferSqlServerObjectsTask.dll)

Sintassi

'Dichiarazione
Public Property CopyDatabaseUsers As Boolean 
    Get 
    Set
'Utilizzo
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)

Valore proprietà

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

Implementa

ITransferSqlServerObjectsTask.CopyDatabaseUsers

Osservazioni

The default value is true.

Vedere anche

Riferimento

TransferSqlServerObjectsTask Classe

Spazio dei nomi Microsoft.SqlServer.Dts.Tasks.TransferSqlServerObjectsTask