Compartilhar via


Propriedade do RDL CopySchema

Gets or sets a Boolean that specifies whether the schema is copied in the transfer operation. This property is only available for SQL Server 2005 or later versions.

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

Sintaxe

'Declaração
Public Property CopySchema As Boolean
    Get
    Set
'Uso
Dim instance As TransferSqlServerObjectsTask
Dim value As Boolean

value = instance.CopySchema

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

Valor da propriedade

Tipo: System. . :: . .Boolean
true indicates that the schema is copied from the source database to the target database.

Implementa

ITransferSqlServerObjectsTask. . :: . .CopySchema

Comentários

The default value is true.