次の方法で共有


DeleteDisplaySize Method

Deletes a specified DisplaySize.

Namespace:  Microsoft.CommerceServer.Marketing.WebService
Assembly:  Microsoft.CommerceServer.Marketing.DataManagement (in Microsoft.CommerceServer.Marketing.DataManagement.dll)

Syntax

'Declaration
<WebMethodAttribute> _
Public Overridable Sub DeleteDisplaySize ( _
    displaySizeId As Integer _
)
'Usage
Dim instance As MarketingWebService
Dim displaySizeId As Integer

instance.DeleteDisplaySize(displaySizeId)
[WebMethodAttribute]
public virtual void DeleteDisplaySize(
    int displaySizeId
)
[WebMethodAttribute]
public:
virtual void DeleteDisplaySize(
    int displaySizeId
)
public function DeleteDisplaySize(
    displaySizeId : int
)

Parameters

  • displaySizeId
    Type: System..::.Int32
    The identifier of the display size to be deleted.

Exceptions

Exception Condition
ArgumentOutOfRangeException

The displaySizeId is less than zero.

NotAuthorizedException

The user is not authorized to perform the requested operation.

EntityDoesNotExistException

The displaySizeId not exist.

EntityHasChildrenException

The displaySizeId has child entities (campaign items) that depend on it.

DatabaseIntegrityException

A serious integrity issue with the database exists.

Remarks

Deletes a display size. A DisplaySize describes one of the sizes defined for the display.

Permissions

See Also

Reference

MarketingWebService Class

MarketingWebService Members

Microsoft.CommerceServer.Marketing.WebService Namespace