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 variant 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, _
variantId As String _
)
'Usage
Dim instance As InventorySkuCollection
Dim productCatalogName As String
Dim productId As String
Dim variantId As String
instance.DeleteSku(productCatalogName, _
productId, variantId)
public void DeleteSku(
string productCatalogName,
string productId,
string variantId
)
public:
void DeleteSku(
String^ productCatalogName,
String^ productId,
String^ variantId
)
public function DeleteSku(
productCatalogName : String,
productId : String,
variantId : String
)
Parameters
- productCatalogName
Type: System..::.String
The name of the mapped product catalog.
- productId
Type: System..::.String
The product identifier.
- variantId
Type: System..::.String
The variant identifier.
Remarks
Deletes the InventorySku object specified by productCatalogName and variantId, 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.