Delete Method

Permanently deletes an existing DisplaySize object.

Namespace:  Microsoft.CommerceServer.Marketing
Assembly:  Microsoft.CommerceServer.Marketing.CrossTierTypes (in Microsoft.CommerceServer.Marketing.CrossTierTypes.dll)

Syntax

'Declaration
Public Sub Delete ( _
    displaySizeId As Integer _
)
'Usage
Dim instance As DisplaySizeManager
Dim displaySizeId As Integer

instance.Delete(displaySizeId)
public void Delete(
    int displaySizeId
)
public:
void Delete(
    int displaySizeId
)
public function Delete(
    displaySizeId : int
)

Parameters

Exceptions

Exception Condition
ArgumentOutOfRangeException

displaySizeId is not valid.

EntityDoesNotExistException

The entity referred to by displaySizeId does not exist.

EntityReferencedException

The DisplaySize cannot be deleted because entities that depend on it exist.

NotAuthorizedException

The user is not authorized to perform the requested operation

Remarks

Permanently deletes an existing DisplaySize object.

Permissions

See Also

Reference

DisplaySizeManager Class

DisplaySizeManager Members

Microsoft.CommerceServer.Marketing Namespace