Compartilhar via


Propriedade do RDL TransferSqlServerObjectsTask.CopyPrimaryKeys

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

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

Sintaxe

'Declaração
Public Property CopyPrimaryKeys As Boolean 
    Get 
    Set
'Uso
Dim instance As TransferSqlServerObjectsTask 
Dim value As Boolean 

value = instance.CopyPrimaryKeys

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

Valor da propriedade

Tipo: System.Boolean
true indicates that primary keys are transferred from the source to the target database.

Implementa

ITransferSqlServerObjectsTask.CopyPrimaryKeys

Comentários

The default value is true.

Consulte também

Referência

TransferSqlServerObjectsTask Classe

Namespace Microsoft.SqlServer.Dts.Tasks.TransferSqlServerObjectsTask