Sunday, July 5, 2009

SPQuery Scope and ModerationType ViewAttributes

Basically there is some sporadic info here and there about these on the internet, for instance that the “Scope" attribute can take the values of “Recursive” and “RecursiveAll”.

So to wrap it up:

The possible values of the “Scope” attribute are:

  • Default
  • FilesOnly
  • Recursive
  • RecursiveAll

The possible values of the “ModerationType” attribute are:

  • HideUnapproved
  • Contributor
  • Moderator

It turns out that these two are analogous to the Scope and ModerationType properties of the SPView class, which are briefly explained here and here.

No comments:

Post a Comment