Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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
- displaySizeId
Type: System..::.Int32
The identifier of the DisplaySize to retrieve.
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
- 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.