CreateStaticCatalogSet Method (String, String, String[])

Creates a static catalog set.

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

Syntax

'Declaration
Public Function CreateStaticCatalogSet ( _
    catalogSetName As String, _
    description As String, _
    productCatalogs As String() _
) As StaticCatalogSet
'Usage
Dim instance As CatalogSetsContext
Dim catalogSetName As String
Dim description As String
Dim productCatalogs As String()
Dim returnValue As StaticCatalogSet

returnValue = instance.CreateStaticCatalogSet(catalogSetName, _
    description, productCatalogs)
public StaticCatalogSet CreateStaticCatalogSet(
    string catalogSetName,
    string description,
    string[] productCatalogs
)
public:
StaticCatalogSet^ CreateStaticCatalogSet(
    String^ catalogSetName, 
    String^ description, 
    array<String^>^ productCatalogs
)
public function CreateStaticCatalogSet(
    catalogSetName : String, 
    description : String, 
    productCatalogs : String[]
) : StaticCatalogSet

Parameters

  • productCatalogs
    Type: array<System..::.String>[]()[]
    A list of product catalogs that should be added to the catalog set.

Return Value

Type: Microsoft.CommerceServer.CatalogSets..::.StaticCatalogSet
A newly created StaticCatalogSet object representing the static catalogset.

Remarks

A static catalog set is a catalog set which contains product catalogs that were explicitly added to it.

Permissions

See Also

Reference

CatalogSetsContext Class

CatalogSetsContext Members

CreateStaticCatalogSet Overload

Microsoft.CommerceServer.CatalogSets Namespace