ScriptNameObjectBase.IsObjectDirty Method
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.