다음을 통해 공유


Create Method (CatalogServiceAgent)

Creates an instance of the CatalogContext object from the specified service agent.

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

Syntax

'Declaration
Public Shared Function Create ( _
    catalogServiceAgent As CatalogServiceAgent _
) As CatalogContext
'Usage
Dim catalogServiceAgent As CatalogServiceAgent
Dim returnValue As CatalogContext

returnValue = CatalogContext.Create(catalogServiceAgent)
public static CatalogContext Create(
    CatalogServiceAgent catalogServiceAgent
)
public:
static CatalogContext^ Create(
    CatalogServiceAgent^ catalogServiceAgent
)
public static function Create(
    catalogServiceAgent : CatalogServiceAgent
) : CatalogContext

Parameters

Return Value

Type: Microsoft.CommerceServer.Catalog..::.CatalogContext
An instance of the CatalogContext object.

Remarks

The CatalogContext class contains the functionality to manage the catalog and inventory systems.

Permissions

See Also

Reference

CatalogContext Class

CatalogContext Members

Create Overload

Microsoft.CommerceServer.Catalog Namespace