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.

1 comment:

  1. Nice post. I enjoy reading your article. I found new ideas and very good information. I will come back for the next post. Thank you.

    John
    www.imarksweb.org

    ReplyDelete