ScriptNameObjectBase.IsObjectDirty Method
SQL Server 2008
Determines whether the referenced object is consistent with the stored object.
Assembly: Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)
Determines whether the referenced object is consistent with the stored object.