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
- catalogSetName
Type: System..::.String
The name of the catalog set.
- description
Type: System..::.String
The description of the catalog set.
- 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
- 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.