WebPartPagesWebService.GetWebPartPage Method
Namespace: [Webpartpages Web service]
Web service reference: http://Site/_vti_bin/Webpartpages.asmx
Syntax
'Declaration
<SoapDocumentMethodAttribute("https://microsoft.com/sharepoint/webpartpages/GetWebPartPage", RequestNamespace := "https://microsoft.com/sharepoint/webpartpages", _
ResponseNamespace := "https://microsoft.com/sharepoint/webpartpages", _
Use := SoapBindingUse.Literal, ParameterStyle := SoapParameterStyle.Wrapped)> _
Public Function GetWebPartPage ( _
documentName As String, _
behavior As SPWebServiceBehavior _
) As String
'Usage
Dim instance As WebPartPagesWebService
Dim documentName As String
Dim behavior As SPWebServiceBehavior
Dim returnValue As String
returnValue = instance.GetWebPartPage(documentName, _
behavior)
[SoapDocumentMethodAttribute("https://microsoft.com/sharepoint/webpartpages/GetWebPartPage", RequestNamespace = "https://microsoft.com/sharepoint/webpartpages",
ResponseNamespace = "https://microsoft.com/sharepoint/webpartpages",
Use = SoapBindingUse.Literal, ParameterStyle = SoapParameterStyle.Wrapped)]
public string GetWebPartPage(
string documentName,
SPWebServiceBehavior behavior
)
Parameters
documentName
Type: System.StringThe name of the Web Part Page.
behavior
Type: [Webpartpages Web service].SPWebServiceBehaviorAn SPWebServiceBehavior enumeration object indicating whether the client supports Windows SharePoint Services 2.0 or Windows SharePoint Services 3.0.
Return Value
Type: System.String
Remarks
To access the WebPartPagesWebService service and its methods, set a Web reference to http://Virtual_Server_Name:Port_Number/_vti_adm/WebPartPages.asmx.