GetSiteTerms Method

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

Retrieves a set of Site Terms from the Profiles Resource that are available to the Marketing system.

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

Syntax

'Declaration
<WebMethodAttribute> _
Public Overridable Function GetSiteTerms As XmlElement
'Usage
Dim instance As MarketingWebService
Dim returnValue As XmlElement

returnValue = instance.GetSiteTerms()
[WebMethodAttribute]
public virtual XmlElement GetSiteTerms()
[WebMethodAttribute]
public:
virtual XmlElement^ GetSiteTerms()
public function GetSiteTerms() : XmlElement

Return Value

Type: System.Xml..::.XmlElement
An XML document containing a set of Site Terms available.

Exceptions

Exception Condition
NotAuthorizedException

The user is not authorized to perform the requested operation.

CommerceResourceDependencyException

If the Profiles resource does not exist or is misconfigured.

Remarks

Retrieves the site term information for the Marketing System.

This method requires a Profiles Resource to be associated with the site. If a Catalog Resource is present in the site, the Catalog Enumerations are also retrieved, otherwise these are skipped.

Permissions

See Also

Reference

MarketingWebService Class

MarketingWebService Members

Microsoft.CommerceServer.Marketing.WebService Namespace