Compartir a través de


TransferSqlServerObjectsTask.CopyAllUsers Property

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.

Espacio de nombres: Microsoft.SqlServer.Dts.Tasks.TransferSqlServerObjectsTask
Ensamblado: Microsoft.SqlServer.TransferSqlServerObjectsTask (in microsoft.sqlserver.transfersqlserverobjectstask.dll)

Sintaxis

'Declaración
Public Property CopyAllUsers As Boolean
public bool CopyAllUsers { get; set; }
public:
virtual property bool CopyAllUsers {
    bool get () sealed;
    void set (bool value) sealed;
}
/** @property */
public final boolean get_CopyAllUsers ()

/** @property */
public final void set_CopyAllUsers (boolean value)
public final function get CopyAllUsers () : boolean

public final function set CopyAllUsers (value : boolean)

Valor de propiedad

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

Notas

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

Seguridad para subprocesos

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.

Plataformas

Plataformas de desarrollo

Para obtener una lista de las plataformas compatibles, vea Requisitos de hardware y software para instalar SQL Server 2005.

Plataformas de destino

Para obtener una lista de las plataformas compatibles, vea Requisitos de hardware y software para instalar SQL Server 2005.

Vea también

Referencia

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