Delen via


ScriptNameObjectBase.CheckObjectDirty Method

Checks whether object has been modified and not persisted.

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

Syntax

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

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

Return Value

Type: System.Boolean
A Boolean value, True if dirty, otherwise False.