共用方式為


ITransferSqlServerObjectsTask.CopyAllRules 屬性

此 API 支援 SQL Server 2012 基礎結構,但無法直接從您的程式碼使用。

Gets or sets a value that indicates whether all SQL Server rules are transferred from the source to the target database.

命名空間:  Microsoft.SqlServer.Dts.Tasks.TransferSqlServerObjectsTask
組件:  Microsoft.SqlServer.TransferSqlServerObjectsTask (在 Microsoft.SqlServer.TransferSqlServerObjectsTask.dll 中)

語法

'宣告
Property CopyAllRules As Boolean 
    Get 
    Set
'用途
Dim instance As ITransferSqlServerObjectsTask 
Dim value As Boolean 

value = instance.CopyAllRules

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

屬性值

型別:System.Boolean
true if all SQL Server rules are transferred from the source to the target database; otherwise, false.

請參閱

參考

ITransferSqlServerObjectsTask 介面

Microsoft.SqlServer.Dts.Tasks.TransferSqlServerObjectsTask 命名空間