TransferSqlServerObjectsTask.CopyAllObjects 屬性

定義

取得或設定布林值,指出是否將所有 SQL Server 資料庫物件從來源傳送到目標資料庫,或只傳送至指定的物件。 您可以傳送下列 SQL Server 資料庫物件:預設值、規則、預存程式、資料表、觸發程式、使用者定義資料類型和視圖。

public:
 property bool CopyAllObjects { bool get(); void set(bool value); };
public bool CopyAllObjects { get; set; }
member this.CopyAllObjects : bool with get, set
Public Property CopyAllObjects As Boolean

屬性值

Boolean

true 表示指定之類型的所有 SQL Server 資料庫物件都會從來源傳送到目標資料庫。

實作

備註

預設值為 true ,表示傳送了下列物件:

  • 登入

  • 使用者

  • 規則

  • 資料表

  • 檢視

  • 預存程序

  • 使用者定義的函式

  • Defaults

  • 使用者定義資料類型

也會傳輸下列物件。 這些物件只會在 Microsoft SQL Server 2005 或更新版本中找到:

  • 資料分割函數

  • 資料分割配置

  • 結構描述

  • SQL 元件

  • 使用者定義匯總

  • 使用者定義型別

  • Xml 架構集合

適用於