Share via


SocialFeedManager.GetPreview method

Generates a video attachment for a post.

Namespace:  Microsoft.SharePoint.Client.Social
Assembly:  Microsoft.SharePoint.Client.UserProfiles (in Microsoft.SharePoint.Client.UserProfiles.dll)

Syntax

'Declaration
Public Function GetPreview ( _
    itemUrl As String _
) As ClientResult(Of SocialAttachment)
'Usage
Dim instance As SocialFeedManager
Dim itemUrl As String
Dim returnValue As ClientResult(Of SocialAttachment)

returnValue = instance.GetPreview(itemUrl)
public ClientResult<SocialAttachment> GetPreview(
    string itemUrl
)

Parameters

Return value

Type: Microsoft.SharePoint.Client.ClientResult<SocialAttachment>

See also

Reference

SocialFeedManager class

SocialFeedManager members

Microsoft.SharePoint.Client.Social namespace