SPScenarioContext.TransitionToCancelPage method

Transitions to the cancel state in this scenario context.

Namespace:  Microsoft.SharePoint.Administration
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

'Declaration
Public Function TransitionToCancelPage ( _
    redirect As Boolean _
) As String
'Usage
Dim instance As SPScenarioContext
Dim redirect As Boolean
Dim returnValue As String

returnValue = instance.TransitionToCancelPage(redirect)
public string TransitionToCancelPage(
    bool redirect
)

Parameters

  • redirect
    Type: System.Boolean

    Boolean value that indicates if the redirect to the cancel page in the scenario should occur as part of this method call.

Return value

Type: System.String
Returns the URL of the cancel page in this scenario.

See also

Reference

SPScenarioContext class

SPScenarioContext members

Microsoft.SharePoint.Administration namespace