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 (in microsoft.sqlserver.transfersqlserverobjectstask.dll)
语法
声明
Public Property CopyAllRules As Boolean
public bool CopyAllRules { get; set; }
public:
virtual property bool CopyAllRules {
bool get () sealed;
void set (bool value) sealed;
}
/** @property */
public final boolean get_CopyAllRules ()
/** @property */
public final void set_CopyAllRules (boolean value)
public final function get CopyAllRules () : boolean
public final function set CopyAllRules (value : 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.
线程安全
Any public static (Shared in Microsoft Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
平台
开发平台
有关支持的平台列表,请参阅安装 SQL Server 2005 的硬件和软件要求。
目标平台
有关支持的平台列表,请参阅安装 SQL Server 2005 的硬件和软件要求。
请参阅
参考
TransferSqlServerObjectsTask Class
TransferSqlServerObjectsTask Members
Microsoft.SqlServer.Dts.Tasks.TransferSqlServerObjectsTask Namespace