Share via


UpdateSkus Method (UpdateClause[], String)

Updates specified properties with the specified values in inventory SKUs that match the specified expression.

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

Syntax

'Declaration
Public Sub UpdateSkus ( _
    updateClauses As UpdateClause(), _
    updateExpression As String _
)
'Usage
Dim instance As InventoryCatalog
Dim updateClauses As UpdateClause()
Dim updateExpression As String

instance.UpdateSkus(updateClauses, updateExpression)
public void UpdateSkus(
    UpdateClause[] updateClauses,
    string updateExpression
)
public:
void UpdateSkus(
    array<UpdateClause^>^ updateClauses, 
    String^ updateExpression
)
public function UpdateSkus(
    updateClauses : UpdateClause[], 
    updateExpression : String
)

Parameters

  • updateExpression
    Type: System..::.String
    An expression that specifies the records to update.

Remarks

Updates specified properties with the specified values in the inventory SKUs filtered by updateExpression.

If updateExpression is set to nullNothingnullptra null reference (Nothing in Visual Basic), all inventory SKUs in the InventoryCatalog are updated.

Permissions

See Also

Reference

InventoryCatalog Class

InventoryCatalog Members

UpdateSkus Overload

Microsoft.CommerceServer.Inventory Namespace