다음을 통해 공유


GetSkus Method (String)

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 _
) As InventorySkuCollection
'Usage
Dim instance As InventoryCatalog
Dim searchClause As String
Dim returnValue As InventorySkuCollection

returnValue = instance.GetSkus(searchClause)
public InventorySkuCollection GetSkus(
    string searchClause
)
public:
InventorySkuCollection^ GetSkus(
    String^ searchClause
)
public function GetSkus(
    searchClause : String
) : InventorySkuCollection

Parameters

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

Return Value

Type: Microsoft.CommerceServer.Inventory..::.InventorySkuCollection
An InventorySkuCollection containing the inventory SKUs that match the searchClause.

Remarks

Returns a InventorySkuCollection containing inventory SKUs that match the search clause. If searchClause is set to nullNothingnullptra null reference (Nothing in Visual Basic), all the inventory SKUs in the inventory system are returned.

Permissions

See Also

Reference

InventoryCatalog Class

InventoryCatalog Members

GetSkus Overload

Microsoft.CommerceServer.Inventory Namespace