开发者

What's the equivalent object model to SiteData.EnumerateFolder in MOSS Web Service?

开发者 https://www.devze.com 2023-03-08 21:40 出处:网络
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 t

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.

0

精彩评论

暂无评论...
验证码 换一张
取 消