Freigeben über


CopyIndexes-Eigenschaft

Gets or sets a Boolean indicating whether indexes are transferred from the source to the target database.

Namespace:  Microsoft.SqlServer.Dts.Tasks.TransferSqlServerObjectsTask
Assembly:  Microsoft.SqlServer.TransferSqlServerObjectsTask (in Microsoft.SqlServer.TransferSqlServerObjectsTask.dll)

Syntax

'Declaration
Public Property CopyIndexes As Boolean
    Get
    Set
'Usage
Dim instance As TransferSqlServerObjectsTask
Dim value As Boolean

value = instance.CopyIndexes

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

Eigenschaftenwert

Typ: System. . :: . .Boolean
true indicates that indexes are transferred from the source to the target database.

Implementiert

ITransferSqlServerObjectsTask. . :: . .CopyIndexes

Hinweise

The default value is true.