SiteData.GetContent Method
[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
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
Specifies the name or GUID of an object. The GUID should be enclosed in curly braces ({}).
- folderUrl
Specifies the folder name or the URL of a folder. The URL may be a absolute URL or a server-relative URL.
- itemId
Specifies the ID of the list item.
- retrieveChildItems
Flag specifying whether to get information about the child sites, lists and folders.
- securityOnly
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
Used for pagination. Clients use this to sequentially retrieve large amount of data.
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.
Note:
|
|---|
|
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. |
Note: