Compartilhar via


WebPartPagesWebService.RemoveWorkflowAssociation Method

Removes all SPWorkflowAssociation objects on the list defined by the /WorkflowConfig/Association/@ListID value in the configuration file.

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

Syntax

'Declaration
<SoapDocumentMethodAttribute("https://microsoft.com/sharepoint/webpartpages/RemoveWorkflowAssociation", RequestNamespace := "https://microsoft.com/sharepoint/webpartpages",  _
    ResponseNamespace := "https://microsoft.com/sharepoint/webpartpages",  _
    Use := SoapBindingUse.Literal, ParameterStyle := SoapParameterStyle.Wrapped)> _
Public Function RemoveWorkflowAssociation ( _
    configUrl As String, _
    configVersion As String _
) As String
'Usage
Dim instance As WebPartPagesWebService
Dim configUrl As String
Dim configVersion As String
Dim returnValue As String

returnValue = instance.RemoveWorkflowAssociation(configUrl, _
    configVersion)
[SoapDocumentMethodAttribute("https://microsoft.com/sharepoint/webpartpages/RemoveWorkflowAssociation", RequestNamespace = "https://microsoft.com/sharepoint/webpartpages", 
    ResponseNamespace = "https://microsoft.com/sharepoint/webpartpages", 
    Use = SoapBindingUse.Literal, ParameterStyle = SoapParameterStyle.Wrapped)]
public string RemoveWorkflowAssociation(
    string configUrl,
    string configVersion
)

Parameters

  • configUrl
    Type: System.String

    Web-relative URL to the configuration file.

  • configVersion
    Type: System.String

    Version of the configuration file to be used.

Return Value

Type: System.String

Remarks

This method recognizes all versions of the workflow as the same, based on the configuration file's /WorkflowConfig/Template/@BaseID value.

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