Returns a Boolean indicating whether the query has changed.
A QueryDef object is considered dirty if any of its fields or filters have changed since the last time it was saved.
VBScript
querydef.IsDirty
Perl
$querydef->GetIsDirty();