Webs Class (Webs)
Provides methods for working with sites and subsites.

Web Service: WebsWeb Reference: http://<Site>/_vti_bin/Webs.asmx
Syntax

Visual Basic (Declaration)
<DesignerCategoryAttribute("code")> _
<GeneratedCodeAttribute("wsdl", "2.0.50727.42")> _
<DebuggerStepThroughAttribute> _
<WebServiceBindingAttribute(Name:="WebsSoap", Web Service:="http://schemas.microsoft.com/sharepoint/soap/")> _
Public Class Webs
    Inherits SoapHttpClientProtocol
Visual Basic (Usage)
Dim instance As Webs
C#
[DesignerCategoryAttribute("code")] 
[GeneratedCodeAttribute("wsdl", "2.0.50727.42")] 
[DebuggerStepThroughAttribute] 
[WebServiceBindingAttribute(Name="WebsSoap", Web Service="http://schemas.microsoft.com/sharepoint/soap/")] 
public class Webs : SoapHttpClientProtocol
Inheritance Hierarchy

System.Object
   System.MarshalByRefObject
     System.ComponentModel.Component
       System.Web.Services.Protocols.WebClientProtocol
         System.Web.Services.Protocols.HttpWebClientProtocol
           System.Web.Services.Protocols.SoapHttpClientProtocol
            Webs.Webs
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