Partilhar via


SPScenarioContext.TransitionToNextPage Method

Transitions to the next state in this scenario context.

Namespace:  Microsoft.SharePoint.Administration
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No

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