Share via


TransferSqlServerObjectsTask.CopyAllLogins Property

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 (in microsoft.sqlserver.transfersqlserverobjectstask.dll)

Syntax

'Declaration
Public Property CopyAllLogins As Boolean
public bool CopyAllLogins { get; set; }
public:
virtual property bool CopyAllLogins {
    bool get () sealed;
    void set (bool value) sealed;
}
/** @property */
public final boolean get_CopyAllLogins ()

/** @property */
public final void set_CopyAllLogins (boolean value)
public final function get CopyAllLogins () : boolean

public final function set CopyAllLogins (value : boolean)

Property Value

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

Remarks

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

Thread Safety

Any public static (Shared in Microsoft Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server 2005.

Target Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server 2005.

See Also

Reference

TransferSqlServerObjectsTask Class
TransferSqlServerObjectsTask Members
Microsoft.SqlServer.Dts.Tasks.TransferSqlServerObjectsTask Namespace