Share via


PublishingService.GetAllContentSlices method

Returns an array of ContentSlice objects—one for each of the content databases in the current web application.

Namespace:  Microsoft.SharePoint.Publishing.WebServices
Assembly:  Microsoft.SharePoint.Publishing (in Microsoft.SharePoint.Publishing.dll)

Syntax

'Declaration
<WebMethodAttribute> _
Public Function GetAllContentSlices As ContentSlice()
'Usage
Dim instance As PublishingService
Dim returnValue As ContentSlice()

returnValue = instance.GetAllContentSlices()
[WebMethodAttribute]
public ContentSlice[] GetAllContentSlices()

Return value

Type: []
One array of ContentSlice objects for each content database.

See also

Reference

PublishingService class

PublishingService members

Microsoft.SharePoint.Publishing.WebServices namespace