Share via


GetSkus Method (String, SearchOptions)

Returns an InventorySkuCollection containing the inventory SKUs matching the specified criteria.

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

Syntax

'Declaration
Public Function GetSkus ( _
    searchClause As String, _
    searchOptions As SearchOptions _
) As InventorySkuCollection
'Usage
Dim instance As InventoryCatalog
Dim searchClause As String
Dim searchOptions As SearchOptions
Dim returnValue As InventorySkuCollection

returnValue = instance.GetSkus(searchClause, _
    searchOptions)
public InventorySkuCollection GetSkus(
    string searchClause,
    SearchOptions searchOptions
)
public:
InventorySkuCollection^ GetSkus(
    String^ searchClause, 
    SearchOptions^ searchOptions
)
public function GetSkus(
    searchClause : String, 
    searchOptions : SearchOptions
) : InventorySkuCollection

Parameters

  • searchClause
    Type: System..::.String
    A SQL expression to filter the inventory SKUs.

Return Value

Type: Microsoft.CommerceServer.Inventory..::.InventorySkuCollection
An InventorySkuCollection containing the inventory SKUs that match the in the searchClause and filtered by the searchOptions.

Remarks

Returns an InventorySkuCollection containing the inventory SKUs that match the searchClause and filtered by the searchOptions.

Permissions

See Also

Reference

InventoryCatalog Class

InventoryCatalog Members

GetSkus Overload

Microsoft.CommerceServer.Inventory Namespace