Share 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
Assembly:  Microsoft.CommerceServer.Profiles.CrossTierTypes (in Microsoft.CommerceServer.Profiles.CrossTierTypes.dll)

Syntax

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

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

Return Value

Type: Microsoft.CommerceServer..::.WebServiceVersion
The version of the profiles web service.

Remarks

Used to make sure that the web service and agent have compatible versions.

Permissions

See Also

Reference

ProfileManagementContext Class

ProfileManagementContext Members

Microsoft.CommerceServer.Profiles Namespace