Dela via


SqlSmoObject.IsObjectDirty Method

Verifies whether the object properties have been modified and the changes have not yet been persisted on the instance of SQL Server.

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

Syntax

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

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

Return Value

Type: System.Boolean
A Boolean value that specifies whether the object properties have been modified and the changes have not yet been persisted on the instance of SQL Server.
If True, changes have been made but not yet persisted. Otherwise, False.

Examples

Calling Methods