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
- updateClauses
Type: array<Microsoft.CommerceServer.Catalog..::.UpdateClause>[]()[]
An array of UpdateClause elements where each UpdateClause contains the property to update and its value.
- 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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.