다음을 통해 공유


SPScenarioContext.TransitionToCancelPage Method

Transitions to the cancel 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 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