Sites Class

Provides a method for returning information about the collection of site templates in the Web application.

Inheritance Hierarchy

System.Object
  System.MarshalByRefObject
    System.ComponentModel.Component
      System.Web.Services.Protocols.WebClientProtocol
        System.Web.Services.Protocols.HttpWebClientProtocol
          System.Web.Services.Protocols.SoapHttpClientProtocol
            [Sites Web service].Sites

Namespace:  [Sites Web service]
Web service reference: http://*Site*/\_vti\_bin/Sites.as

Syntax

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

Remarks

To access the Sites service and its methods, set a Web reference to http://Server\_Name/\[sites/\]\[Site\_Name/\]\_vti\_bin/Si.

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

Sites Members

Sites Web Service