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
- displaySizeId
Type: System..::.Int32
The Id of the DisplaySize to delete. Must not be less than 1.
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
- 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.