Compartilhar via


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.String

    The name of the Web Part Page.

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.

See Also

Reference

WebPartPagesWebService Class

WebPartPagesWebService Members

Webpartpages Web Service