Share via


SPScenarioContext.TransitionToNextPage method

Transitions to the next state in this scenario context.

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

Syntax

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

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

Parameters

  • redirect
    Type: System.Boolean

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

Return value

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

See also

Reference

SPScenarioContext class

SPScenarioContext members

Microsoft.SharePoint.Administration namespace