Partager via


TransferSqlServerObjectsTask.CopyTriggers Property

Gets or sets a Boolean indicating whether triggers are included in the transfer from the source to the target database.

Espace de noms: Microsoft.SqlServer.Dts.Tasks.TransferSqlServerObjectsTask
Assembly: Microsoft.SqlServer.TransferSqlServerObjectsTask (in microsoft.sqlserver.transfersqlserverobjectstask.dll)

Syntaxe

'Déclaration
Public Property CopyTriggers As Boolean
public bool CopyTriggers { get; set; }
public:
virtual property bool CopyTriggers {
    bool get () sealed;
    void set (bool value) sealed;
}
/** @property */
public final boolean get_CopyTriggers ()

/** @property */
public final void set_CopyTriggers (boolean value)
public final function get CopyTriggers () : boolean

public final function set CopyTriggers (value : boolean)

Valeur de propriété

true indicates that triggers are transferred from the source to the target database.

Notes

The default value is true.

Sécurité des threads

Any public static (Shared in Microsoft Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Plateformes

Plateformes de développement

Pour obtenir la liste des plateformes prises en charge, consultez Configuration matérielle et logicielle requise pour l'installation de SQL Server 2005.

Plateformes cibles

Pour obtenir la liste des plateformes prises en charge, consultez Configuration matérielle et logicielle requise pour l'installation de SQL Server 2005.

Voir aussi

Référence

TransferSqlServerObjectsTask Class
TransferSqlServerObjectsTask Members
Microsoft.SqlServer.Dts.Tasks.TransferSqlServerObjectsTask Namespace