Partager via


Propriété CopyDatabaseUsers

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

Espace de noms :  Microsoft.SqlServer.Dts.Tasks.TransferSqlServerObjectsTask
Assembly :  Microsoft.SqlServer.TransferSqlServerObjectsTask (en Microsoft.SqlServer.TransferSqlServerObjectsTask.dll)

Syntaxe

'Déclaration
Public Property CopyDatabaseUsers As Boolean
    Get
    Set
'Utilisation
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)

Valeur de propriété

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

Implémente

ITransferSqlServerObjectsTask. . :: . .CopyDatabaseUsers

Notes

The default value is true.