GetContent method

SiteData.GetContent method

A string representing information about the web application.

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

[SoapDocumentMethodAttribute("http://schemas.microsoft.com/sharepoint/soap/GetContent", RequestNamespace = "http://schemas.microsoft.com/sharepoint/soap/", 
	ResponseNamespace = "http://schemas.microsoft.com/sharepoint/soap/", 
	Use = SoapBindingUse.Literal, ParameterStyle = SoapParameterStyle.Wrapped)]
public string GetContent(
	ObjectType objectType,
	string objectId,
	string folderUrl,
	string itemId,
	bool retrieveChildItems,
	bool securityOnly,
	ref string lastItemIdOnPage
)

Parameters

objectType
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.

objectId
Type: System.String

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

folderUrl
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.

itemId
Type: System.String

Specifies the ID of the list item.

retrieveChildItems
Type: System.Boolean

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

securityOnly
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.

lastItemIdOnPage
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.

NoteNote

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.

Show:
© 2016 Microsoft