vijay
vijay

Reputation: 65

How to get the itemcount using SOAP

How to get the ItemCount for a ListCollection, without actually getting all the list items in SharePoint using SOAP?

Is there a SOAP webservice for that?

Upvotes: 1

Views: 1485

Answers (2)

Ashish Patel
Ashish Patel

Reputation: 1306

As per SharePoint 2010 SDK, if you want count of all items in the list, SPList.ItemCount would perform faster than SPList.Items.Count.

Upvotes: 0

Kit Menke
Kit Menke

Reputation: 7056

If you want to get the total number of items in a List/Library, you can use the GetList method to get ItemCount.

Upvotes: 2

Related Questions