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
itemUrl
Type: System.StringThe URL of the video.
Return value
Type: Microsoft.SharePoint.Client.ClientResult<SocialAttachment>