AddCatalogSet Method (Guid, String, String, String)

Add a Catalog Set to this CatalogSetsDataSet..::.CatalogSetsDataTable and return a CatalogSetsDataSet.CatalogSet.

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

Syntax

'Declaration
Public Function AddCatalogSet ( _
    CatalogSetId As Guid, _
    CatalogSetName As String, _
    CatalogSetDescription As String, _
    Expression As String _
) As CatalogSetsDataSet..::.CatalogSet
'Usage
Dim instance As CatalogSetsDataSet..::.CatalogSetsDataTable
Dim CatalogSetId As Guid
Dim CatalogSetName As String
Dim CatalogSetDescription As String
Dim Expression As String
Dim returnValue As CatalogSetsDataSet..::.CatalogSet

returnValue = instance.AddCatalogSet(CatalogSetId, _
    CatalogSetName, CatalogSetDescription, _
    Expression)
public CatalogSetsDataSet..::.CatalogSet AddCatalogSet(
    Guid CatalogSetId,
    string CatalogSetName,
    string CatalogSetDescription,
    string Expression
)
public:
CatalogSetsDataSet..::.CatalogSet^ AddCatalogSet(
    Guid CatalogSetId, 
    String^ CatalogSetName, 
    String^ CatalogSetDescription, 
    String^ Expression
)
public function AddCatalogSet(
    CatalogSetId : Guid, 
    CatalogSetName : String, 
    CatalogSetDescription : String, 
    Expression : String
) : CatalogSetsDataSet..::.CatalogSet

Parameters

  • Expression
    Type: System..::.String
    The expression is a second “RefiningClause” used for additional search criteria.

Return Value

Type: Microsoft.CommerceServer.Catalog..::.CatalogSetsDataSet..::.CatalogSet
A CatalogSetsDataSet..::.CatalogSet containing the added set.

Remarks

The CatalogSetsDataset object must be saved before these changes will be persisted to the database.

Permissions

See Also

Reference

CatalogSetsDataSet..::.CatalogSetsDataTable Class

CatalogSetsDataSet..::.CatalogSetsDataTable Members

AddCatalogSet Overload

Microsoft.CommerceServer.Catalog Namespace