Partager via


GetServiceVersion Method

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

Retrieves the version of the profiles web service.

Namespace:  Microsoft.CommerceServer.Profiles.WebService
Assembly:  Microsoft.CommerceServer.Profiles.DataManagement (in Microsoft.CommerceServer.Profiles.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 ProfilesWebService
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 version of the profiles web service.

Remarks

Retrieves the version of the profiles web service. Used to make sure that the web service and agent have compatible versions.

Permissions

See Also

Reference

ProfilesWebService Class

ProfilesWebService Members

Microsoft.CommerceServer.Profiles.WebService Namespace