Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Returns the GUID and URL of the site collection to which the specified URL belongs.
Namespace: [SiteData Web service]
Web service reference: http://Site/_vti_bin/SiteData.asmx
Syntax
'Declaration
<SoapDocumentMethodAttribute("https://schemas.microsoft.com/sharepoint/soap/GetSiteUrl", RequestNamespace := "https://schemas.microsoft.com/sharepoint/soap/", _
ResponseNamespace := "https://schemas.microsoft.com/sharepoint/soap/", _
Use := SoapBindingUse.Literal, ParameterStyle := SoapParameterStyle.Wrapped)> _
Public Function GetSiteUrl ( _
Url As String, _
<OutAttribute> ByRef siteUrl As String, _
<OutAttribute> ByRef siteId As String _
) As UInteger
'Usage
Dim instance As SiteData
Dim Url As String
Dim siteUrl As String
Dim siteId As String
Dim returnValue As UInteger
returnValue = instance.GetSiteUrl(Url, _
siteUrl, siteId)
[SoapDocumentMethodAttribute("https://schemas.microsoft.com/sharepoint/soap/GetSiteUrl", RequestNamespace = "https://schemas.microsoft.com/sharepoint/soap/",
ResponseNamespace = "https://schemas.microsoft.com/sharepoint/soap/",
Use = SoapBindingUse.Literal, ParameterStyle = SoapParameterStyle.Wrapped)]
public uint GetSiteUrl(
string Url,
out string siteUrl,
out string siteId
)
Parameters
- Url
Type: System.String
- siteUrl
Type: System.String
- siteId
Type: System.String
Return Value
Type: System.UInt32