次の方法で共有


GetAllIndustryCodes Method

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

Gets all the IndustryCode 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 GetAllIndustryCodes As IndustryCodeData()
'Usage
Dim instance As MarketingWebService
Dim returnValue As IndustryCodeData()

returnValue = instance.GetAllIndustryCodes()
[WebMethodAttribute]
public virtual IndustryCodeData[] GetAllIndustryCodes()
[WebMethodAttribute]
public:
virtual array<IndustryCodeData^>^ GetAllIndustryCodes()
public function GetAllIndustryCodes() : IndustryCodeData[]

Return Value

Type: array<IndustryCodeData>[]()[]
An array of IndustryCodeData.

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 an IndustryCodeData array. The IndustryCodeData array contains information associated with all of the IndustryCode objects in the system.

Permissions

See Also

Reference

MarketingWebService Class

MarketingWebService Members

Microsoft.CommerceServer.Marketing.WebService Namespace