GetContent method

SiteData.GetContent method

A string representing information about the web application.

Namespace:  WebSvcSiteData
Assembly:  STSSOAP (in STSSOAP.dll)

[SoapDocumentMethodAttribute("", RequestNamespace = "", 
	ResponseNamespace = "", 
	Use = SoapBindingUse.Literal, ParameterStyle = SoapParameterStyle.Wrapped)]
public string GetContent(
	ObjectType objectType,
	string objectId,
	string folderUrl,
	string itemId,
	bool retrieveChildItems,
	bool securityOnly,
	ref string lastItemIdOnPage


Type: WebSvcSiteData.ObjectType

The change tracking space to report about, either "ContentDatabase" or "Site". All other objectType values, as defined in ObjectType should not be used. The server may treat all other types as "Site". Note that "Site" in the context of this parameter actually means site collection.

Type: System.String

Specifies the name or GUID of an object. The GUID should be enclosed in curly braces ({}).

Type: System.String

Specifies the folder name or the URL of a folder. The URL may be a absolute URL or a server-relative URL.

Type: System.String

Specifies the ID of the list item.

Type: System.Boolean

Flag specifying whether to get information about the child sites, lists and folders.

Type: System.Boolean

Flag specifying whether to get all the information for a list item or items of a folder. If true, the operation must return only the mandatory information, else the operation must return all the information.

Type: System.String

Used for pagination. Clients use this to sequentially retrieve large amount of data.

Return value

Type: System.String

Returns change information (ChangeId) about the content database and site collection. Also returns information about the web application, site collection, site, list, list item, folder and attachment.


GetContent operation is polymorphic; it can be used (when called with proper parameters) instead of specific traversal operations - GetSite, GetWeb, EnumerateFolder, GetListCollection, GetList, GetListItems, GetAttachments. GetContent fully covers specific traversal operations functionality, albeit details of input parameters and syntax of the response might differ.

© 2016 Microsoft