Proprietà TransferSqlServerObjectsTask.CopyAllUsers

Nota: questa API è obsoleta.

Gets or sets a Boolean indicating whether all the SQL Server database users are copied from the source database to the target database, or only the specified users.

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

Sintassi

'Dichiarazione
<ObsoleteAttribute("Use CopyDatabaseUsers instead.")> _
Public Property CopyAllUsers As Boolean 
    Get 
    Set
'Utilizzo
Dim instance As TransferSqlServerObjectsTask 
Dim value As Boolean 

value = instance.CopyAllUsers

instance.CopyAllUsers = value
[ObsoleteAttribute("Use CopyDatabaseUsers instead.")]
public bool CopyAllUsers { get; set; }
[ObsoleteAttribute(L"Use CopyDatabaseUsers instead.")]
public:
virtual property bool CopyAllUsers {
    bool get () sealed;
    void set (bool value) sealed;
}
[<ObsoleteAttribute("Use CopyDatabaseUsers instead.")>]
abstract CopyAllUsers : bool with get, set
[<ObsoleteAttribute("Use CopyDatabaseUsers instead.")>]
override CopyAllUsers : bool with get, set
final function get CopyAllUsers () : boolean 
final function set CopyAllUsers (value : boolean)

Valore proprietà

Tipo: System.Boolean
true indicates that all SQL Server database users are copied from the source database to the target database.

Implementa

ITransferSqlServerObjectsTask.CopyAllUsers

Osservazioni

The default value is false. When false, only the users listed in the UsersList property are transferred.

Vedere anche

Riferimento

TransferSqlServerObjectsTask Classe

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