Utility.CreateEmailBodyForInvitation method

Creates the contents of the e-mail used to invite users to a document or resource in a site.

Namespace:  Microsoft.SharePoint.Client.Utilities
Assembly:  Microsoft.SharePoint.Client (in Microsoft.SharePoint.Client.dll)

public static ClientResult<string> CreateEmailBodyForInvitation(
	ClientRuntimeContext context,
	string pageAddress
)

Parameters

context
Type: Microsoft.SharePoint.Client.ClientRuntimeContext
pageAddress
Type: System.String

Specifies the URI for the document or resource. It must be a URL.

Return value

Type: Microsoft.SharePoint.Client.ClientResult<String>
Returns a ClientResult<T> instance representing the contents of the e-mail used to invite users to a document or resource in a site.
Show: