NewCustomer Method

For the latest version of Commerce Server 2007 Help, see the Microsoft Web site.

Creates a new Customer with the default parameters

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

Syntax

'Declaration
<WebMethodAttribute> _
Public Overridable Function NewCustomer As CustomerData
'Usage
Dim instance As MarketingWebService
Dim returnValue As CustomerData

returnValue = instance.NewCustomer()
[WebMethodAttribute]
public virtual CustomerData NewCustomer()
[WebMethodAttribute]
public:
virtual CustomerData^ NewCustomer()
public function NewCustomer() : CustomerData

Return Value

Type: CustomerData
A CustomerData instance containing the Customer.

Remarks

Creates a new Customer Use this method to retrieve a CustomerData containing the Customer object from the database. The Customer does not exist in the database until SaveCustomer is called.

Permissions

See Also

Reference

MarketingWebService Class

MarketingWebService Members

Microsoft.CommerceServer.Marketing.WebService Namespace