SocialTagManager.AddTag method (Uri, Term, String, Boolean)

Creates a SocialTag with the specified Uri, Term, String and Boolean.

Namespace:  Microsoft.Office.Server.SocialData
Assembly:  Microsoft.Office.Server.UserProfiles (in Microsoft.Office.Server.UserProfiles.dll)

public SocialTag AddTag(
	Uri url,
	Term term,
	string title,
	bool isPrivate
)

Parameters

url
Type: System.Uri
term
Type: Microsoft.SharePoint.Taxonomy.Term

A Term object. The term must exist in the taxonomy that you are using.

title
Type: System.String

The title of the Web page whose URL is being tagged.

isPrivate
Type: System.Boolean

A Boolean value indicating whether the social tag is private. If it is not private, the tag will be visible to users other than the owner.

Show: