Imaging Class

Provides methods that enable you to create and manage picture libraries.

Web Service: ImagingWeb Reference: http://<Site>/_vti_bin/Imaging.asmx

Syntax

<DebuggerStepThroughAttribute> _
<DesignerCategoryAttribute("code")> _
<WebServiceBindingAttribute(Name:="ImagingSoap", Web Service:="http://schemas.microsoft.com/sharepoint/soap/ois/")> _
<GeneratedCodeAttribute("wsdl", "2.0.50727.42")> _
Public Class Imaging
    Inherits SoapHttpClientProtocol

Dim instance As Imaging
[DebuggerStepThroughAttribute] 
[DesignerCategoryAttribute("code")] 
[WebServiceBindingAttribute(Name="ImagingSoap", Web Service="http://schemas.microsoft.com/sharepoint/soap/ois/")] 
[GeneratedCodeAttribute("wsdl", "2.0.50727.42")] 
public class Imaging : SoapHttpClientProtocol

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.

Dim ws As New mywss001.Imaging()
Dim myCache As New System.Net.CredentialCache()
ws.Credentials = myCache.DefaultCredentials
mywss001.Imaging ws = new mywss001.Imaging();
System.Net.CredentialCache myCache = new System.Net.CredentialCache();
ws.Credentials = myCache.DefaultCredentials;

Inheritance Hierarchy

System.Object
   System.MarshalByRefObject
     System.ComponentModel.Component
       System.Web.Services.Protocols.WebClientProtocol
         System.Web.Services.Protocols.HttpWebClientProtocol
           System.Web.Services.Protocols.SoapHttpClientProtocol
            Imaging.Imaging

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

Imaging Members
Imaging Web Service