Share via


TransferSqlServerObjectsTask.CopyAllViews Property

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

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

Syntax

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

value = instance.CopyAllViews

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

Property Value

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

Implements

ITransferSqlServerObjectsTask.CopyAllViews

See Also

Reference

TransferSqlServerObjectsTask Class

Microsoft.SqlServer.Dts.Tasks.TransferSqlServerObjectsTask Namespace