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
- 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.
See Also
Reference
ProfileManagementContext Class