Sites Class
Proporciona un método para devolver información sobre la colección de plantillas de sitios en el servidor virtual.
Web Service: SitesWeb Reference: http://<Site>/_vti_bin/Sites.asmx
Syntax
'Declaración
<DesignerCategoryAttribute("code")> _
<DebuggerStepThroughAttribute> _
<WebServiceBindingAttribute(Name:="SitesSoap", Web Service:="https://schemas.microsoft.com/sharepoint/soap/")> _
PublicClassSitesInheritsSoapHttpClientProtocol
'Uso
DiminstanceAsSites
[DesignerCategoryAttribute("code")]
[DebuggerStepThroughAttribute]
[WebServiceBindingAttribute(Name="SitesSoap", Web Service="https://schemas.microsoft.com/sharepoint/soap/")]
publicclassSites : SoapHttpClientProtocol
Remarks
Para tener acceso a sus métodos y el servicio Sites, establecer una referencia Web a http:// Server_Name / [sitios /] [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.