RecursiveTriggersEnabled 属性

属性或设置一个布尔值,该值指定是否对数据库启用递归触发器。

命名空间:  Microsoft.SqlServer.Management.Smo
程序集:  Microsoft.SqlServer.Smo(在 Microsoft.SqlServer.Smo.dll 中)

语法

声明
<SfcPropertyAttribute(SfcPropertyFlags.None Or SfcPropertyFlags.Standalone Or SfcPropertyFlags.SqlAzureDatabase Or SfcPropertyFlags.Design)> _
Public Property RecursiveTriggersEnabled As Boolean
    Get
    Set
用法
Dim instance As Database
Dim value As Boolean

value = instance.RecursiveTriggersEnabled

instance.RecursiveTriggersEnabled = value
[SfcPropertyAttribute(SfcPropertyFlags.None|SfcPropertyFlags.Standalone|SfcPropertyFlags.SqlAzureDatabase|SfcPropertyFlags.Design)]
public bool RecursiveTriggersEnabled { get; set; }
[SfcPropertyAttribute(SfcPropertyFlags::None|SfcPropertyFlags::Standalone|SfcPropertyFlags::SqlAzureDatabase|SfcPropertyFlags::Design)]
public:
virtual property bool RecursiveTriggersEnabled {
    bool get () sealed;
    void set (bool value) sealed;
}
[<SfcPropertyAttribute(SfcPropertyFlags.None|SfcPropertyFlags.Standalone|SfcPropertyFlags.SqlAzureDatabase|SfcPropertyFlags.Design)>]
abstract RecursiveTriggersEnabled : bool with get, set
[<SfcPropertyAttribute(SfcPropertyFlags.None|SfcPropertyFlags.Standalone|SfcPropertyFlags.SqlAzureDatabase|SfcPropertyFlags.Design)>]
override RecursiveTriggersEnabled : bool with get, set
final function get RecursiveTriggersEnabled () : boolean
final function set RecursiveTriggersEnabled (value : boolean)

属性值

类型:System. . :: . .Boolean
一个 Boolean 值,该值指定是否对数据库启用递归触发器。如果为 True,则递归触发器已启用。如果为 False(默认值),则递归触发器未启用。

实现

IDatabaseOptions. . :: . .RecursiveTriggersEnabled

注释

This property specifies whether a trigger called by another trigger is executed.

This option can also be changed by using the Transact-SQL ALTER DATABASE statement.