共用方式為


Rule.FireOnTopLevelCommit Property

true if this rule will execute when the top level transaction commits.

Namespace:  Microsoft.VisualStudio.Modeling
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.10.0.dll)

Syntax

'宣告
Public Overridable ReadOnly Property FireOnTopLevelCommit As Boolean
    Get
public virtual bool FireOnTopLevelCommit { get; }
public:
virtual property bool FireOnTopLevelCommit {
    bool get ();
}
abstract FireOnTopLevelCommit : bool
override FireOnTopLevelCommit : bool
function get FireOnTopLevelCommit () : boolean

Property Value

Type: System.Boolean
true if this rule will execute when the top level transaction commits; otherwise, false.

Remarks

The Rule will not execute if the local transaction commits but the top-level transaction is rolled back.

.NET Framework Security

See Also

Reference

Rule Class

Microsoft.VisualStudio.Modeling Namespace