Condividi tramite


Proprietà 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.

Spazio dei nomi  Microsoft.SqlServer.Dts.Tasks.TransferSqlServerObjectsTask
Assembly:  Microsoft.SqlServer.TransferSqlServerObjectsTask (in Microsoft.SqlServer.TransferSqlServerObjectsTask.dll)

Sintassi

'Dichiarazione
Public Property CopySchema As Boolean
    Get
    Set
'Utilizzo
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)

Valore proprietà

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

Implementa

ITransferSqlServerObjectsTask. . :: . .CopySchema

Osservazioni

The default value is true.