共用方式為


ITransferSqlServerObjectsTask.CopyIndexes 屬性

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

Gets or sets a value that indicates whether indexes are transferred from the source to the target database.

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

語法

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

value = instance.CopyIndexes

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

屬性值

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

請參閱

參考

ITransferSqlServerObjectsTask 介面

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