Sites Class

Provides a method for returning information about the collection of site templates on the virtual server.

Web Service: SitesWeb Reference: http://<Site>/_vti_bin/Sites.asmx

Syntax

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

Dim instance As Sites
[DesignerCategoryAttribute("code")] 
[DebuggerStepThroughAttribute] 
[WebServiceBindingAttribute(Name="SitesSoap", Web Service="http://schemas.microsoft.com/sharepoint/soap/")] 
[GeneratedCodeAttribute("wsdl", "2.0.50727.42")] 
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/Sites.asmx.

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.Sites

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