Export (0) Print
Expand All

Keyword.AddPromotion Method

SharePoint 2010

Adds a new promotion for the keyword.

Namespace:  Microsoft.SharePoint.Search.Extended.Administration.Keywords
Assembly:  Microsoft.SharePoint.Search.Extended.Administration (in Microsoft.SharePoint.Search.Extended.Administration.dll)

Promotion AddPromotion(
	string promotionName
)

Parameters

promotionName
Type: System.String

name of the promotion to be added.

Return Value

Type: Microsoft.SharePoint.Search.Extended.Administration.Keywords.Promotion
A Promotion representing the added promotion.

ExceptionCondition
AdminException

if a promotion with the same name already exists for this keyword.

Show:
© 2014 Microsoft