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
- 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.