Partilhar via


SPUtility.TransferToSuccessPage Method (String, String, String, String)

Transfers the request to a Microsoft SharePoint Foundation success page.

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

Syntax

'Declaration
<SubsetCallableExcludeMemberAttribute(SubsetCallableExcludeMemberType.PerSpec)> _
Public Shared Sub TransferToSuccessPage ( _
    message As String, _
    nextUrl As String, _
    linkText As String, _
    linkUrl As String _
)
'Usage
Dim message As String
Dim nextUrl As String
Dim linkText As String
Dim linkUrl As StringSPUtility.TransferToSuccessPage(message, _
    nextUrl, linkText, linkUrl)
[SubsetCallableExcludeMemberAttribute(SubsetCallableExcludeMemberType.PerSpec)]
public static void TransferToSuccessPage(
    string message,
    string nextUrl,
    string linkText,
    string linkUrl
)

Parameters

  • nextUrl
    Type: System.String

    The next URL to be displayed after the first success page.

  • linkText
    Type: System.String

    A string that contains the link text to be displayed with the success message.

See Also

Reference

SPUtility Class

SPUtility Members

TransferToSuccessPage Overload

Microsoft.SharePoint.Utilities Namespace