Udostępnij za pośrednictwem


GetServiceVersion Method

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

Returns the version of the Web service.

Namespace:  Microsoft.CommerceServer.Orders
Assembly:  Microsoft.CommerceServer.Orders.CrossTierTypes (in Microsoft.CommerceServer.Orders.CrossTierTypes.dll)

Syntax

'Declaration
Public Function GetServiceVersion As WebServiceVersion
'Usage
Dim instance As OrderManagementContext
Dim returnValue As WebServiceVersion

returnValue = instance.GetServiceVersion()
public WebServiceVersion GetServiceVersion()
public:
WebServiceVersion GetServiceVersion()
public function GetServiceVersion() : WebServiceVersion

Return Value

Type: Microsoft.CommerceServer..::.WebServiceVersion
The Web service version.

Remarks

Only the agent implementation returns the Web service version. The server implementation returns nullNothingnullptra null reference (Nothing in Visual Basic). This method delegates the call to DoGetServiceVersion.

Permissions

See Also

Reference

OrderManagementContext Class

OrderManagementContext Members

Microsoft.CommerceServer.Orders Namespace