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
Assemblies: Microsoft.SharePoint.Client.Silverlight (in Microsoft.SharePoint.Client.Silverlight.dll); Microsoft.SharePoint.Client (in Microsoft.SharePoint.Client.dll)
Syntax
'Declaration
<RemoteAttribute> _
Public Shared Function CreateEmailBodyForInvitation ( _
Context As ClientRuntimeContext, _
pageAddress As String _
) As ClientResult(Of String)
'Usage
Dim Context As ClientRuntimeContext
Dim pageAddress As String
Dim returnValue As ClientResult(Of String)
returnValue = Utility.CreateEmailBodyForInvitation(Context, _
pageAddress)
[RemoteAttribute]
public static ClientResult<string> CreateEmailBodyForInvitation(
ClientRuntimeContext Context,
string pageAddress
)
Parameters
- Context
Type: Microsoft.SharePoint.Client.ClientRuntimeContext
pageAddress
Type: System.StringSpecifies 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.