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