What's the equivalent object model to SiteData.EnumerateFolder in MOSS Web Service?
There is a use in our project code in the SiteData WebService, for some reason that use is problematic and anyway it is code that runs on the server- therefore I look for object model equivalent for the Enumer开发者_开发百科ateFolder method
Anyone has any ideas ?
SPList (amongst other classes) have a RootFolder property. From that you can use Files to get a list of files. And SubFolders to get a collection of sub-folders.
精彩评论