Share via


GetPageGroup Method

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

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

See Also

Reference

PageGroupManager Class

PageGroupManager Members

Microsoft.CommerceServer.Marketing Namespace