共用方式為


TransferSqlServerObjectsTask.CopyAllTables Property

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

命名空間: Microsoft.SqlServer.Dts.Tasks.TransferSqlServerObjectsTask
組件: Microsoft.SqlServer.TransferSqlServerObjectsTask (in microsoft.sqlserver.transfersqlserverobjectstask.dll)

語法

'宣告
Public Property CopyAllTables As Boolean
public bool CopyAllTables { get; set; }
public:
virtual property bool CopyAllTables {
    bool get () sealed;
    void set (bool value) sealed;
}
/** @property */
public final boolean get_CopyAllTables ()

/** @property */
public final void set_CopyAllTables (boolean value)
public final function get CopyAllTables () : boolean

public final function set CopyAllTables (value : boolean)

屬性值

true indicates that all SQL Server tables are transferred from the source to the target database. false indicates that only the objects found in the TablesList 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