Share via


Delete Method

Permanently deletes a PageGroup.

Namespace:  Microsoft.CommerceServer.Marketing
Assembly:  Microsoft.CommerceServer.Marketing.CrossTierTypes (in Microsoft.CommerceServer.Marketing.CrossTierTypes.dll)

Syntax

'Declaration
Public Sub Delete ( _
    pageGroupId As Integer _
)
'Usage
Dim instance As PageGroupManager
Dim pageGroupId As Integer

instance.Delete(pageGroupId)
public void Delete(
    int pageGroupId
)
public:
void Delete(
    int pageGroupId
)
public function Delete(
    pageGroupId : int
)

Parameters

Exceptions

Exception Condition
ArgumentOutOfRangeException

displaySizeId is not valid.

EntityDoesNotExistException

The entity referred to by displaySizeId does not exist.

EntityReferencedException

The PageGroup cannot be deleted because entities that depend on it exist.

NotAuthorizedException

The user is not authorized to perform the requested operation

Remarks

Deletes a PageGroup object with the specified Id.

Permissions

See Also

Reference

PageGroupManager Class

PageGroupManager Members

Microsoft.CommerceServer.Marketing Namespace