时间有限, 没找到确切描述这个问题的资料.

 

以下方法可以尝试, 当然是编写Object Model代码了.

 

1. 如果是SPListItem文档库的文档, 这个可以尝试.

SPListItem item;
int size = item.File.Length;

 

2. 我还尝试过估算Discussion Borad的List Item的大小. 这个SPListItem主要内容存储在XML中, 可以使用把xml转换成为Byte Array, 再统计大小.

 

其余的还没试过.

 

参考资料:

How do I determine the size of a SharePoint list Programmatically

http://stackoverflow.com/questions/2266548/how-do-i-determine-the-size-of-a-sharepoint-list-programmatically

相关文章:

  • 2022-12-23
  • 2021-11-08
  • 2021-05-27
  • 2021-12-20
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2021-08-04
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-12-27
  • 2022-01-08
  • 2022-12-23
相关资源
相似解决方案