다음을 통해 공유


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

Syntax

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

Remarks

To access the Sites service and its methods, set a Web reference to https://Server_Name/[sites/][Site_Name/]_vti_bin/Sites.asmx.

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