Compartir a través de


TransferSqlServerObjectsTask.CopyAllObjects Propiedad

Gets or sets a Boolean indicating whether all SQL Server database objects are transferred from the source to the target database, or only the specified objects. The following SQL Server database objects can be transferred: defaults, rules, stored procedures, tables, triggers, user-defined data types, and views.

Espacio de nombres:  Microsoft.SqlServer.Dts.Tasks.TransferSqlServerObjectsTask
Ensamblado:  Microsoft.SqlServer.TransferSqlServerObjectsTask (en Microsoft.SqlServer.TransferSqlServerObjectsTask.dll)

Sintaxis

'Declaración
Public Property CopyAllObjects As Boolean 
    Get 
    Set
'Uso
Dim instance As TransferSqlServerObjectsTask 
Dim value As Boolean 

value = instance.CopyAllObjects

instance.CopyAllObjects = value
public bool CopyAllObjects { get; set; }
public:
virtual property bool CopyAllObjects {
    bool get () sealed;
    void set (bool value) sealed;
}
abstract CopyAllObjects : bool with get, set 
override CopyAllObjects : bool with get, set
final function get CopyAllObjects () : boolean 
final function set CopyAllObjects (value : boolean)

Valor de la propiedad

Tipo: System.Boolean
true indicates that all the SQL Server database objects of the specified type are transferred from the source to the target database.

Implementa

ITransferSqlServerObjectsTask.CopyAllObjects

Comentarios

The default value is true, indicating that the following objects are transferred:

  • Logins

  • Users

  • Rules

  • Tables

  • Views

  • Stored Procedures

  • User Defined Functions

  • Defaults

  • User Defined Data Types

The following objects are also transferred. These objects are only found in Microsoft SQL Server 2005 or later versions:

  • Partition Functions

  • Partition Schemes

  • Schemas

  • SQL Assemblies

  • User Defined Aggregates

  • User Defined Types

  • Xml Schema Collections

Vea también

Referencia

TransferSqlServerObjectsTask Clase

Espacio de nombres Microsoft.SqlServer.Dts.Tasks.TransferSqlServerObjectsTask