GetAllExpressionCategories Method
For the latest version of Commerce Server 2007 Help, see the Microsoft Web site.
Gets an ExpressionCategorySet containing all of the expression categories defined in the system.
Namespace: Microsoft.CommerceServer.Marketing
Assembly: Microsoft.CommerceServer.Marketing.CrossTierTypes (in Microsoft.CommerceServer.Marketing.CrossTierTypes.dll)
Syntax
'Declaration
Public Function GetAllExpressionCategories As ExpressionCategorySet
'Usage
Dim instance As ExpressionManager
Dim returnValue As ExpressionCategorySet
returnValue = instance.GetAllExpressionCategories()
public ExpressionCategorySet GetAllExpressionCategories()
public:
ExpressionCategorySet^ GetAllExpressionCategories()
public function GetAllExpressionCategories() : ExpressionCategorySet
Return Value
Type: Microsoft.CommerceServer.Marketing..::.ExpressionCategorySet
A ExpressionCategorySet containing the ExpressionCategories.
Exceptions
Exception | Condition |
---|---|
NotAuthorizedException | The user is not authorized to perform the requested operation |
Remarks
Returns all ExpressionCategories objects configured in the system.
Permissions
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.