Proprietà TransferSqlServerObjectsTask.CopyTriggers

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

Spazio dei nomi  Microsoft.SqlServer.Dts.Tasks.TransferSqlServerObjectsTask
Assembly:  Microsoft.SqlServer.TransferSqlServerObjectsTask (in Microsoft.SqlServer.TransferSqlServerObjectsTask.dll)

Sintassi

'Dichiarazione
Public Property CopyTriggers As Boolean 
    Get 
    Set
'Utilizzo
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)

Valore proprietà

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

Implementa

ITransferSqlServerObjectsTask.CopyTriggers

Osservazioni

The default value is true.

Vedere anche

Riferimento

TransferSqlServerObjectsTask Classe

Spazio dei nomi Microsoft.SqlServer.Dts.Tasks.TransferSqlServerObjectsTask