다음을 통해 공유


DeletePageGroup Method

Deletes a specified PageGroup.

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

Syntax

'Declaration
<WebMethodAttribute> _
Public Overridable Sub DeletePageGroup ( _
    pageGroupId As Integer _
)
'Usage
Dim instance As MarketingWebService
Dim pageGroupId As Integer

instance.DeletePageGroup(pageGroupId)
[WebMethodAttribute]
public virtual void DeletePageGroup(
    int pageGroupId
)
[WebMethodAttribute]
public:
virtual void DeletePageGroup(
    int pageGroupId
)
public function DeletePageGroup(
    pageGroupId : int
)

Parameters

  • pageGroupId
    Type: System..::.Int32
    The identifier of the Page Group to be deleted.

Exceptions

Exception Condition
ArgumentOutOfRangeException

The Page Group Id is less than zero.

NotAuthorizedException

The user is not authorized to perform the requested operation.

EntityDoesNotExistException

The Page Group does not exist.

EntityHasChildrenException

The Page Group has child entities (campaign items) that depend on it.

DatabaseIntegrityException

A serious integrity issue with the database exists.

Remarks

Deletes a Page Group. The PageGroup class defines a set of pages on which a DisplayableCampaignItem can be displayed.

Permissions

See Also

Reference

MarketingWebService Class

MarketingWebService Members

Microsoft.CommerceServer.Marketing.WebService Namespace