SaveExpressionCategories Method

Saves changes to an Expression in an expression categories dataset.

Namespace:  Microsoft.CommerceServer.Marketing
Assembly:  Microsoft.CommerceServer.Marketing.CrossTierTypes (in Microsoft.CommerceServer.Marketing.CrossTierTypes.dll)

Syntax

'Declaration
Public Sub SaveExpressionCategories ( _
    expressionCategorySet As ExpressionCategorySet _
)
'Usage
Dim instance As ExpressionManager
Dim expressionCategorySet As ExpressionCategorySet

instance.SaveExpressionCategories(expressionCategorySet)
public void SaveExpressionCategories(
    ExpressionCategorySet expressionCategorySet
)
public:
void SaveExpressionCategories(
    ExpressionCategorySet^ expressionCategorySet
)
public function SaveExpressionCategories(
    expressionCategorySet : ExpressionCategorySet
)

Parameters

Exceptions

Exception Condition
ArgumentNullException

expressionCategorySet is null.

DuplicateEntityNameException

A duplicate CategoryName + ProfileName combination exists in the specified expressionCategorySet.

InvalidOperationException

An attempt was made to change the CampaignName value of an ExpressionCategories. This field is read-only.

EntityReferencedException

An attempt to delete the current expression category failed because other expressions depend on this expression category.

NotAuthorizedException

The user is not authorized to perform the requested operation

Remarks

The saved ExpressionCategorySet is a strongly typed DataSet that is used to access expression categories in the marketing system.

Permissions

See Also

Reference

ExpressionManager Class

ExpressionManager Members

Microsoft.CommerceServer.Marketing Namespace