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.
Checks the specified URL and attempts to resolve it.
Namespace: [Imaging Web service]
Web service reference: http://Site/_vti_bin/Imaging.asmx
Syntax
'Declaration
<SoapDocumentMethodAttribute("https://schemas.microsoft.com/sharepoint/soap/ois/CheckSubwebAndList", RequestNamespace := "https://schemas.microsoft.com/sharepoint/soap/ois/", _
ResponseNamespace := "https://schemas.microsoft.com/sharepoint/soap/ois/", _
Use := SoapBindingUse.Literal, ParameterStyle := SoapParameterStyle.Wrapped)> _
Public Function CheckSubwebAndList ( _
strUrl As String _
) As XmlNode
'Usage
Dim instance As Imaging
Dim strUrl As String
Dim returnValue As XmlNode
returnValue = instance.CheckSubwebAndList(strUrl)
[SoapDocumentMethodAttribute("https://schemas.microsoft.com/sharepoint/soap/ois/CheckSubwebAndList", RequestNamespace = "https://schemas.microsoft.com/sharepoint/soap/ois/",
ResponseNamespace = "https://schemas.microsoft.com/sharepoint/soap/ois/",
Use = SoapBindingUse.Literal, ParameterStyle = SoapParameterStyle.Wrapped)]
public XmlNode CheckSubwebAndList(
string strUrl
)
Parameters
strUrl
Type: System.StringThe URL to analyze.
Return Value
Type: System.Xml.XmlNode
A Microsoft.SharePoint.SoapServer.SoapXml object that contains the resolved URL. For example, if the strUrl parameter is http://MyServer/t1/forms/allitems.aspx, the Microsoft.SharePoint.SoapServer.SoapXml object contains the following.
<result xmlns="https://schemas.microsoft.com/sharepoint/soap/ois/"
url="http://MyServer/t1/forms/allitems.aspx"
subweb="http://MyServer" list="t1" rest="/forms/allitems.aspx" />
Exceptions
| Exception | Condition |
|---|---|
| [0x1] | ListNotFound: The requested list is not found. |
| [0x2] | IsNotLibrary: The requested list, although found, is not a picture library. |
| [0x3] | ItemNotFound: The requested list item is not found. |
| [0x4] | FolderNotFound: The requested folder is not found. |
| [0x5] | InvalidArgument: One or more arguments are not valid. |
| [0x6] | FileExists: The file already exists, and the user does not specify the overwrite option. |
Remarks
The CheckSubwebAndList method attempts to resolve as much of the URL as it can and leaves the remaining part in rest attribute.