Share via


GetDisplaySize Method

Retrieves an existing DisplaySize as identified by the specified identifier.

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

Syntax

'Declaration
<WebMethodAttribute> _
Public Overridable Function GetDisplaySize ( _
    displaySizeId As Integer _
) As DisplaySizeData
'Usage
Dim instance As MarketingWebService
Dim displaySizeId As Integer
Dim returnValue As DisplaySizeData

returnValue = instance.GetDisplaySize(displaySizeId)
[WebMethodAttribute]
public virtual DisplaySizeData GetDisplaySize(
    int displaySizeId
)
[WebMethodAttribute]
public:
virtual DisplaySizeData^ GetDisplaySize(
    int displaySizeId
)
public function GetDisplaySize(
    displaySizeId : int
) : DisplaySizeData

Parameters

Return Value

Type: DisplaySizeData
The DisplaySizeData associated with the displaySizeId.

Exceptions

Exception Condition
ArgumentOutOfRangeException

displaySizeId is less than zero.

NotAuthorizedException

The user is not authorized to perform the requested operation.

EntityDoesNotExistException

No item exists with this displaySizeId.

DatabaseIntegrityException

A serious integrity issue with the database exists.

Remarks

Use this method to retrieve a specific DisplaySizeData containing the DisplaySize object from the database.

Permissions

See Also

Reference

MarketingWebService Class

MarketingWebService Members

Microsoft.CommerceServer.Marketing.WebService Namespace