다음을 통해 공유


GetVersion Method

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

Returns the version of the catalog assembly.

Namespace:  Microsoft.CommerceServer.Catalog
Assembly:  Microsoft.CommerceServer.Catalog (in Microsoft.CommerceServer.Catalog.dll)

Syntax

'Declaration
Public Function GetVersion As Version
'Usage
Dim instance As CatalogContext
Dim returnValue As Version

returnValue = instance.GetVersion()
public Version GetVersion()
public:
Version^ GetVersion()
public function GetVersion() : Version

Return Value

Type: System..::.Version
The version of the catalog assembly.

Remarks

The Version is the catalog assembly.GetName().Version. Version numbers consist of two to four components: major, minor, build, and revision. The version number may be similar to 1.0.0.5.

Permissions

See Also

Reference

CatalogContext Class

CatalogContext Members

Microsoft.CommerceServer.Catalog Namespace