Click to Rate and Give Feedback

  Switch on low bandwidth view
Community Content
In this section
Statistics Annotations (1)
Imaging Class (Imaging)
Provides methods that enable you to create and manage picture libraries.

Web Service: ImagingWeb Reference: http://<Site>/_vti_bin/Imaging.asmx
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

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;
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Tags What's this?: Add a tag
Community Content   What is Community Content?
Add new content RSS  Annotations
Processing
© 2009 Microsoft Corporation. All rights reserved. Terms of Use  |  Trademarks  |  Privacy Statement
Page view tracker