Partager via


Propriété CopyTriggers

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 (en Microsoft.SqlServer.TransferSqlServerObjectsTask.dll)

Syntaxe

'Déclaration
Public Property CopyTriggers As Boolean
    Get
    Set
'Utilisation
Dim instance As TransferSqlServerObjectsTask
Dim value As Boolean

value = instance.CopyTriggers

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

Valeur de propriété

Type : System. . :: . .Boolean
true indicates that triggers are transferred from the source to the target database.

Implémente

ITransferSqlServerObjectsTask. . :: . .CopyTriggers

Notes

The default value is true.