次の方法で共有


GetPageGroup Method

Gets a page group from the system.

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

Syntax

'Declaration
<WebMethodAttribute> _
Public Overridable Function GetPageGroup ( _
    pageGroupId As Integer _
) As PageGroupData
'Usage
Dim instance As MarketingWebService
Dim pageGroupId As Integer
Dim returnValue As PageGroupData

returnValue = instance.GetPageGroup(pageGroupId)
[WebMethodAttribute]
public virtual PageGroupData GetPageGroup(
    int pageGroupId
)
[WebMethodAttribute]
public:
virtual PageGroupData^ GetPageGroup(
    int pageGroupId
)
public function GetPageGroup(
    pageGroupId : int
) : PageGroupData

Parameters

Return Value

Type: PageGroupData
A PageGroupData instance associated with the pageGroupId.

Exceptions

Exception Condition
ArgumentOutOfRangeException

pageGroupId is less than zero.

NotAuthorizedException

The user is not authorized to perform the requested operation.

EntityDoesNotExistException

No item exists with this pageGroupId.

DatabaseIntegrityException

A serious integrity issue with the database exists.

Remarks

Use this method to retrieve a specific PageGroupData containing the PageGroup object from the database. A PageGroup describes a site page on which a campaign item may be displayed.

Permissions

See Also

Reference

MarketingWebService Class

MarketingWebService Members

Microsoft.CommerceServer.Marketing.WebService Namespace