TransferSqlServerObjectsTask.CopyTriggers Property
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 (in Microsoft.SqlServer.TransferSqlServerObjectsTask.dll)
Syntax
'Declaration
Public Property CopyTriggers As Boolean
Get
Set
'Usage
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)
Property Value
Type: System.Boolean
true indicates that triggers are transferred from the source to the target database.
Implements
ITransferSqlServerObjectsTask.CopyTriggers
Remarks
The default value is true.
See Also
Reference
TransferSqlServerObjectsTask Class
Microsoft.SqlServer.Dts.Tasks.TransferSqlServerObjectsTask Namespace