Compartilhar via


Propriedade do RDL TransferSqlServerObjectsTask.CopyAllLogins

Observação: essa API está obsoleta.

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

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

Sintaxe

'Declaração
<ObsoleteAttribute("Use CopySqlServerLogins instead.")> _
Public Property CopyAllLogins As Boolean 
    Get 
    Set
'Uso
Dim instance As TransferSqlServerObjectsTask 
Dim value As Boolean 

value = instance.CopyAllLogins

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

Valor da propriedade

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

Implementa

ITransferSqlServerObjectsTask.CopyAllLogins

Comentários

The default value is false. When false, only the logins found in the LoginsList are transferred.

Consulte também

Referência

TransferSqlServerObjectsTask Classe

Namespace Microsoft.SqlServer.Dts.Tasks.TransferSqlServerObjectsTask