Keyword.RemovePromotion Method

SharePoint 2010

Removes a promotion with the specified name from the keyword.

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

bool RemovePromotion(
	string promotionName
)

Parameters

promotionName
Type: System.String

The name of the promotion to remove.

Return Value

Type: System.Boolean
[true] if the promotion could be removed, [false] otherwise.
Show: