Delen via


ScriptNameObjectBase.IsObjectDirty Method

Determines whether the referenced object is consistent with the stored object.

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

Syntax

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

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

Return Value

Type: System.Boolean
A Boolean value that specifies whether the referenced object is consistent with the stored object.
If True, the object is not consistent with the stored object. Otherwise, False.

Examples

Scripting