Share via


GetSku Method (String, String)

Returns an InventorySku object associated with this InventoryCatalog and identified by the product identifier.

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

Syntax

'Declaration
Public Function GetSku ( _
    productCatalogName As String, _
    productId As String _
) As InventorySku
'Usage
Dim instance As InventoryCatalog
Dim productCatalogName As String
Dim productId As String
Dim returnValue As InventorySku

returnValue = instance.GetSku(productCatalogName, _
    productId)
public InventorySku GetSku(
    string productCatalogName,
    string productId
)
public:
InventorySku^ GetSku(
    String^ productCatalogName, 
    String^ productId
)
public function GetSku(
    productCatalogName : String, 
    productId : String
) : InventorySku

Parameters

Return Value

Type: Microsoft.CommerceServer.Inventory..::.InventorySku
An InventorySku object associated with this InventoryCatalog.

Remarks

Returns an InventoryCatalog for the specified productId.

Permissions

See Also

Reference

InventoryCatalog Class

InventoryCatalog Members

GetSku Overload

Microsoft.CommerceServer.Inventory Namespace