Freigeben über


CopyTriggers-Eigenschaft

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)

Eigenschaftenwert

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

Implementiert

ITransferSqlServerObjectsTask. . :: . .CopyTriggers

Hinweise

The default value is true.