Share via


TransferSqlServerObjectsTask.CopyAllSchemas Property

Gets or sets a Boolean indicating whether all SQL Server schemas are transferred from the source to the target database, or only the specified schemas.

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

Syntax

'Declaration
Public Property CopyAllSchemas As Boolean
    Get
    Set
'Usage
Dim instance As TransferSqlServerObjectsTask
Dim value As Boolean

value = instance.CopyAllSchemas

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

Property Value

Type: System.Boolean
true indicates that all SQL Server schemas are transferred from the source to the target database. false indicates that only the objects found in the SchemasList are transferred.

Implements

ITransferSqlServerObjectsTask.CopyAllSchemas