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 PageGroup as identified by the page group's unique identifier.
Namespace: Microsoft.CommerceServer.Marketing
Assembly: Microsoft.CommerceServer.Marketing.CrossTierTypes (in Microsoft.CommerceServer.Marketing.CrossTierTypes.dll)
Syntax
'Declaration
Public Function GetPageGroup ( _
pageGroupId As Integer _
) As PageGroup
'Usage
Dim instance As PageGroupManager
Dim pageGroupId As Integer
Dim returnValue As PageGroup
returnValue = instance.GetPageGroup(pageGroupId)
public PageGroup GetPageGroup(
int pageGroupId
)
public:
PageGroup^ GetPageGroup(
int pageGroupId
)
public function GetPageGroup(
pageGroupId : int
) : PageGroup
Parameters
- pageGroupId
Type: System..::.Int32
The Id of the PageGroup to retrieve. Must not be less than 1.
Return Value
Type: Microsoft.CommerceServer.Marketing..::.PageGroup
The PageGroup retrieved from the database.
Exceptions
| Exception | Condition |
|---|---|
| ArgumentOutOfRangeException | customerId was less than 1. |
| EntityDoesNotExistException | No PageGroup exists with the customerId. |
Remarks
Returns a PageGroup object with the specified Id.
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.