Share via


TransferSqlServerObjectsTask.CopyAllRules Property

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

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

Syntax

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

value = instance.CopyAllRules

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

Property Value

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

Implements

ITransferSqlServerObjectsTask.CopyAllRules