SPSocialFeedManager.GetPreview method
Generates a video attachment for a microblog post.
Namespace: Microsoft.Office.Server.Social
Assembly: Microsoft.Office.Server.UserProfiles (in Microsoft.Office.Server.UserProfiles.dll)
Syntax
'Declaration
Public Function GetPreview ( _
itemUrl As String _
) As SPSocialAttachment
'Usage
Dim instance As SPSocialFeedManager
Dim itemUrl As String
Dim returnValue As SPSocialAttachment
returnValue = instance.GetPreview(itemUrl)
public SPSocialAttachment GetPreview(
string itemUrl
)
Parameters
itemUrl
Type: System.StringThe URL of the video.
Return value
Type: Microsoft.Office.Server.Social.SPSocialAttachment