Sdílet prostřednictvím


DdlTriggerBase.CheckObjectDirty Method

Determines whether the object has been updated since the last call to the Alter method.

Namespace:  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

Syntax

'Declaration
Protected Overrides Function CheckObjectDirty As Boolean
'Usage
Dim returnValue As Boolean

returnValue = Me.CheckObjectDirty()
protected override bool CheckObjectDirty()
protected:
virtual bool CheckObjectDirty() override
abstract CheckObjectDirty : unit -> bool 
override CheckObjectDirty : unit -> bool 
protected override function CheckObjectDirty() : boolean

Return Value

Type: System.Boolean
A Boolean value that indicates whether this object must to be updated on the instance of SQL Server.
Returns True if the object should be updated, or False if the object does not have to be updated.