Database.RecursiveTriggersEnabled 属性

Gets or sets a value that specifies whether recursive triggers are enabled on the database.

命名空间:  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
A Boolean value that specifies whether recursive triggers are enabled on the database. If True, recursive triggers are enabled. If False (default), recursive triggers are not enabled.

实现

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.

请参阅

参考

Database 类

Microsoft.SqlServer.Management.Smo 命名空间