Share via


SPUtility.CreateEmailBodyForInvitation Method

Returns a string that can be used as the body of an email message that contains a link to a SharePoint Foundation page.

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

Syntax

'Declaration
<ClientCallableAttribute> _
Public Shared Function CreateEmailBodyForInvitation ( _
    pageAddress As String _
) As String
'Usage
Dim pageAddress As String
Dim returnValue As String

returnValue = SPUtility.CreateEmailBodyForInvitation(pageAddress)
[ClientCallableAttribute]
public static string CreateEmailBodyForInvitation(
    string pageAddress
)

Parameters

Return Value

Type: System.String
A string that contains a link to the page.

See Also

Reference

SPUtility Class

SPUtility Members

Microsoft.SharePoint.Utilities Namespace