다음을 통해 공유


DeleteSku Method (String, String, String)

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

Remarks

Deletes the InventorySku object specified by productCatalogName and variantId, from within the collection.

Permissions

See Also

Reference

InventorySkuCollection Class

InventorySkuCollection Members

DeleteSku Overload

Microsoft.CommerceServer.Inventory Namespace