Поделиться через


MajorVersion Property

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

Gets a value representing the major version number of the resource.

Namespace:  Microsoft.CommerceServer.Runtime.Configuration
Assembly:  Microsoft.CommerceServer.Shared (in Microsoft.CommerceServer.Shared.dll)

Syntax

'Declaration
Public ReadOnly Property MajorVersion As Integer
'Usage
Dim instance As CommerceResource
Dim value As Integer

value = instance.MajorVersion
public int MajorVersion { get; }
public:
property int MajorVersion {
    int get ();
}
public function get MajorVersion () : int

Property Value

Type: System..::.Int32
A value that represents the major version number of the resource.

Remarks

Gets the value of the major component of the version number. If the version of the resource is 1.2.3, the MajorVersion is 1. The value is returned from a helper function that parses the version string.

Permissions

See Also

Reference

CommerceResource Class

CommerceResource Members

Microsoft.CommerceServer.Runtime.Configuration Namespace

MinorVersion

Revision