Share via


Imaging Service

The Imaging service provides methods that enable you to create and manage picture libraries.

Public Constructors

The following table shows the Imaging service constructor and provides a brief description.

Name Description
Imaging Initializes a new instance of the Imaging class.

Public Methods

The following table shows the Imaging service methods and provides a brief description of each.

Name Description
CheckSubwebAndList(String) Checks the specified URL and attempts to resolve it.
CreateNewFolder(String, String) Creates a new folder, with the name "New folder", in the specified list and folder. If this folder already exists, this method tries to create "New folder(1)", "New folder(2)", and so on.
Delete(String, String, String[]) Removes the specified files (items) from the specified list on the current Web site.
Download(String, String, String[], Int32, Boolean) Downloads the specified files (items) in a list on the current Web site.
GetItemsByIds(String, Int32[]) Returns the items with the specified IDs.
GetItemsXMLData(String, String, String[]) Returns the metadata of all the items in the specified list.
GetListItems(String, String) Returns the last modified date of the specified items in a list on the current Web site.
ListPictureLibrary Lists all picture libraries on the current Web site.
Rename(String, String, System.Xml.XmlElement) Renames the specified files (items) in a list on the current Web site.
Upload(String, String, Byte[], String, Boolean) Uploads a file to a list on the current Web site.

Example

The following code example shows how to initialize a new instance of the Imaging service and authenticate the user to the server by using the credentials of the current user.

Requirements

Namespace: Microsoft.SharePoint.SoapServer

Platforms: Microsoft Windows Server 2003

Assembly: Windows SharePoint Services Web Service (in STSSOAP.dll)

Web Reference: http://Server_Name/[sites/][Site_Name/]_vti_bin/Imaging.asmx