TransferSqlServerObjectsTask.CopySchema Property
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 (in Microsoft.SqlServer.TransferSqlServerObjectsTask.dll)
Syntax
'Declaration
Public Property CopySchema As Boolean
Get
Set
'Usage
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)
Property Value
Type: System.Boolean
true indicates that the schema is copied from the source database to the target database.
Implements
ITransferSqlServerObjectsTask.CopySchema
Remarks
The default value is true.
See Also
Reference
TransferSqlServerObjectsTask Class
Microsoft.SqlServer.Dts.Tasks.TransferSqlServerObjectsTask Namespace