共用方式為


Imaging Class

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

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 Web service].Imaging

Namespace:  [Imaging Web service]
Web service reference: http://Site/_vti_bin/Imaging.asmx

Syntax

'Declaration
<WebServiceBindingAttribute(Name := "ImagingSoap", Namespace := "https://schemas.microsoft.com/sharepoint/soap/ois/")> _
Public Class Imaging _
    Inherits SoapHttpClientProtocol
'Usage
Dim instance As Imaging
[WebServiceBindingAttribute(Name = "ImagingSoap", Namespace = "https://schemas.microsoft.com/sharepoint/soap/ois/")]
public class Imaging : SoapHttpClientProtocol

Examples

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;

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