Share via


WebPartPagesWebService.RemoveWorkflowAssociation method

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

Namespace:  WebSvcwebpartpages
Assembly:  STSSOAP (in STSSOAP.dll)

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

WebSvcwebpartpages namespace