SearchServiceApplicationProxy.CommitUserSegment method
Commits the user segment to the SearchAdminDatabase.
Namespace: Microsoft.Office.Server.Search.Administration
Assembly: Microsoft.Office.Server.Search (in Microsoft.Office.Server.Search.dll)
Syntax
'Declaration
Public Sub CommitUserSegment ( _
ByRef userSegment As UserSegment _
)
'Usage
Dim instance As SearchServiceApplicationProxy
Dim userSegment As UserSegment
instance.CommitUserSegment(userSegment)
public void CommitUserSegment(
ref UserSegment userSegment
)
Parameters
userSegment
Type: Microsoft.Office.Server.Search.Query.Rules.UserSegmentThe user segment.
Implements
IQueryRuleOperations.CommitUserSegment(UserSegment)
Remarks
SharePoint Server 2013 lets you tailor content you show on a SharePoint 2013 site depending on certain attributes of end-users, for example their gender, where they live, their interests, or referral links. These groupings of user attributes are known as user segments. To learn how to display tailored content for your user segments using a combination of code and the SharePoint 2013 UI, see User segmentation in SharePoint 2013.
See also
Reference
SearchServiceApplicationProxy class