Partilhar via


Sites.GetSite Method

Namespace:  [Sites Web service]
Web service reference: http://Site/_vti_bin/Sites.asmx

Syntax

'Declaration
<SoapDocumentMethodAttribute("https://schemas.microsoft.com/sharepoint/soap/GetSite", RequestNamespace := "https://schemas.microsoft.com/sharepoint/soap/",  _
    ResponseNamespace := "https://schemas.microsoft.com/sharepoint/soap/",  _
    Use := SoapBindingUse.Literal, ParameterStyle := SoapParameterStyle.Wrapped)> _
Public Function GetSite ( _
    SiteUrl As String _
) As String
'Usage
Dim instance As Sites
Dim SiteUrl As String
Dim returnValue As String

returnValue = instance.GetSite(SiteUrl)
[SoapDocumentMethodAttribute("https://schemas.microsoft.com/sharepoint/soap/GetSite", RequestNamespace = "https://schemas.microsoft.com/sharepoint/soap/", 
    ResponseNamespace = "https://schemas.microsoft.com/sharepoint/soap/", 
    Use = SoapBindingUse.Literal, ParameterStyle = SoapParameterStyle.Wrapped)]
public string GetSite(
    string SiteUrl
)

Parameters

Return Value

Type: System.String

See Also

Reference

Sites Class

Sites Members

Sites Web Service