CreateDynamicCatalogSet Method

Creates a dynamic catalogset.

Namespace:  Microsoft.CommerceServer.CatalogSets
Assembly:  Microsoft.CommerceServer.Catalog (in Microsoft.CommerceServer.Catalog.dll)

Syntax

'Declaration
Public Function CreateDynamicCatalogSet ( _
    catalogSetName As String, _
    description As String, _
    expression As String _
) As DynamicCatalogSet
'Usage
Dim instance As CatalogSetsContext
Dim catalogSetName As String
Dim description As String
Dim expression As String
Dim returnValue As DynamicCatalogSet

returnValue = instance.CreateDynamicCatalogSet(catalogSetName, _
    description, expression)
public DynamicCatalogSet CreateDynamicCatalogSet(
    string catalogSetName,
    string description,
    string expression
)
public:
DynamicCatalogSet^ CreateDynamicCatalogSet(
    String^ catalogSetName, 
    String^ description, 
    String^ expression
)
public function CreateDynamicCatalogSet(
    catalogSetName : String, 
    description : String, 
    expression : String
) : DynamicCatalogSet

Parameters

  • expression
    Type: System..::.String
    An expression defining the list of catalogs to include in the catalog set.

Return Value

Type: Microsoft.CommerceServer.CatalogSets..::.DynamicCatalogSet
A newly created DynamicCatalogSet object representing the dynamic catalogset.

Remarks

A dynamic catalogset is a catalog set which contains product catalogs that match the expression associated with the catalog set.

Permissions

See Also

Reference

CatalogSetsContext Class

CatalogSetsContext Members

Microsoft.CommerceServer.CatalogSets Namespace