Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Deletes the specified InventorySku object from the InventorySkuCollection. The deleted InventorySKU object is specified by the Product catalog and the product identifier.
Namespace: Microsoft.CommerceServer.Inventory
Assembly: Microsoft.CommerceServer.Catalog (in Microsoft.CommerceServer.Catalog.dll)
Syntax
'Declaration
Public Sub DeleteSku ( _
productCatalogName As String, _
productId As String _
)
'Usage
Dim instance As InventorySkuCollection
Dim productCatalogName As String
Dim productId As String
instance.DeleteSku(productCatalogName, _
productId)
public void DeleteSku(
string productCatalogName,
string productId
)
public:
void DeleteSku(
String^ productCatalogName,
String^ productId
)
public function DeleteSku(
productCatalogName : String,
productId : String
)
Parameters
- productCatalogName
Type: System..::.String
The name of the mapped product catalog.
- productId
Type: System..::.String
The product identifier.
Remarks
Deletes the InventorySku object specified by productCatalogName and productId, from within the collection.
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.