Imaging Class (Imaging)
Provides methods that enable you to create and manage picture libraries.

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

Visual Basic (Declaration)
<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
Visual Basic (Usage)
Dim instance As Imaging
C#
[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.

Visual Basic
Dim ws As New mywss001.Imaging()
Dim myCache As New System.Net.CredentialCache()
ws.Credentials = myCache.DefaultCredentials
C#
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

Tags :


Page view tracker