Save Method
For the latest version of Commerce Server 2007 Help, see the Microsoft Web site.
Saves changes made to the current PageGroup object.
Namespace: Microsoft.CommerceServer.Marketing
Assembly: Microsoft.CommerceServer.Marketing.CrossTierTypes (in Microsoft.CommerceServer.Marketing.CrossTierTypes.dll)
Syntax
'Declaration
Public Sub Save
'Usage
Dim instance As PageGroup
instance.Save()
public void Save()
public:
void Save()
public function Save()
Exceptions
Exception | Condition |
---|---|
ArgumentNullException | The xml serializable PageGroupData received at the web service was nullNothingnullptra null reference (Nothing in Visual Basic). |
ArgumentOutOfRangeException | The Id of the PageGroup is less than zero. |
NotAuthorizedException | The user is not authorized to perform the requested updates. |
DuplicateEntityNameException | A PageGroup with the specified Name already exists with in the context of the Campaign specified by Name. |
StringLengthValidationException | A string property is too long or cannot be set to empty string. See individual properties for details. |
PropertyNullValidationException | A string property cannot be set to nullNothingnullptra null reference (Nothing in Visual Basic). See individual properties for details. |
MinimumValueValidationException | One or more of the numeric property values of the current discount object was set to a value less than the minimum allowed. |
Remarks
Save can be used to add a new PageGroup to the database or update an existing PageGroup in the database.
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.