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.
命名空間: Microsoft.SqlServer.Dts.Tasks.TransferSqlServerObjectsTask
組件: Microsoft.SqlServer.TransferSqlServerObjectsTask (在 Microsoft.SqlServer.TransferSqlServerObjectsTask.dll 中)
語法
'宣告
Public Property CopyAllRules As Boolean
Get
Set
'用途
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)
屬性值
型別: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.
實作
ITransferSqlServerObjectsTask.CopyAllRules
請參閱
參考
TransferSqlServerObjectsTask 類別
Microsoft.SqlServer.Dts.Tasks.TransferSqlServerObjectsTask 命名空間