Partager via


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.WebService
Assembly:  Microsoft.CommerceServer.Orders.DataManagement (in Microsoft.CommerceServer.Orders.DataManagement.dll)

Syntax

'Declaration
<SoapDocumentMethodAttribute(Action := "https://schemas.microsoft.com/CommerceServer/2004/02/WebServices/GetServiceVersion",  _
    RequestNamespace := "https://schemas.microsoft.com/CommerceServer/2004/02/WebServices",  _
    ResponseNamespace := "https://schemas.microsoft.com/CommerceServer/2004/02/WebServices")> _
<WebMethodAttribute> _
Public Overridable Function GetServiceVersion As WebServiceVersion
'Usage
Dim instance As OrdersWebService
Dim returnValue As WebServiceVersion

returnValue = instance.GetServiceVersion()
[SoapDocumentMethodAttribute(Action = "https://schemas.microsoft.com/CommerceServer/2004/02/WebServices/GetServiceVersion", 
    RequestNamespace = "https://schemas.microsoft.com/CommerceServer/2004/02/WebServices", 
    ResponseNamespace = "https://schemas.microsoft.com/CommerceServer/2004/02/WebServices")]
[WebMethodAttribute]
public virtual WebServiceVersion GetServiceVersion()
[SoapDocumentMethodAttribute(Action = L"https://schemas.microsoft.com/CommerceServer/2004/02/WebServices/GetServiceVersion", 
    RequestNamespace = L"https://schemas.microsoft.com/CommerceServer/2004/02/WebServices", 
    ResponseNamespace = L"https://schemas.microsoft.com/CommerceServer/2004/02/WebServices")]
[WebMethodAttribute]
public:
virtual WebServiceVersion GetServiceVersion()
public function GetServiceVersion() : WebServiceVersion

Return Value

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

Remarks

Returns the version of the Web service.

Permissions

See Also

Reference

OrdersWebService Class

OrdersWebService Members

Microsoft.CommerceServer.Orders.WebService Namespace