GetAllDisplayTemplates Method
For the latest version of Commerce Server 2007 Help, see the Microsoft Web site.
Gets all the DisplayTemplate objects in the System.
Namespace: Microsoft.CommerceServer.Marketing.WebService
Assembly: Microsoft.CommerceServer.Marketing.DataManagement (in Microsoft.CommerceServer.Marketing.DataManagement.dll)
Syntax
'Declaration
<WebMethodAttribute> _
Public Overridable Function GetAllDisplayTemplates As DisplayTemplateData()
'Usage
Dim instance As MarketingWebService
Dim returnValue As DisplayTemplateData()
returnValue = instance.GetAllDisplayTemplates()
[WebMethodAttribute]
public virtual DisplayTemplateData[] GetAllDisplayTemplates()
[WebMethodAttribute]
public:
virtual array<DisplayTemplateData^>^ GetAllDisplayTemplates()
public function GetAllDisplayTemplates() : DisplayTemplateData[]
Return Value
Type: array<DisplayTemplateData>[]()[]
An array of DisplayTemplateData.
Exceptions
Exception | Condition |
---|---|
NotAuthorizedException | The user is not authorized to perform the requested operation. |
DatabaseIntegrityException | A serious integrity issue with the database exists. |
Remarks
Returns a DisplayTemplateData array. The DisplayTemplateData array contains information associated with all of the DisplayTemplate objects in the system.
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.