Propriedade CopyTriggers

Gets or sets a Boolean indicating whether triggers are included in the transfer 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 CopyTriggers As Boolean
    Get
    Set
'Uso
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)

Valor da propriedade

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

Implementa

ITransferSqlServerObjectsTask. . :: . .CopyTriggers

Comentários

The default value is true.