Share via


MajorVerion Property

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

NOTE: This API is now obsolete.

(Obsolete) Gets a value representing the MajorVersion of the resource.

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

Syntax

'Declaration
<ObsoleteAttribute("This property accessor is obsolete; use the correctly spelled 'MarjorVersion' property instead.")> _
<BrowsableAttribute(False)> _
Public ReadOnly Property MajorVerion As Integer
'Usage
Dim instance As CommerceResource
Dim value As Integer

value = instance.MajorVerion
[ObsoleteAttribute("This property accessor is obsolete; use the correctly spelled 'MarjorVersion' property instead.")]
[BrowsableAttribute(false)]
public int MajorVerion { get; }
[ObsoleteAttribute(L"This property accessor is obsolete; use the correctly spelled 'MarjorVersion' property instead.")]
[BrowsableAttribute(false)]
public:
property int MajorVerion {
    int get ();
}
public function get MajorVerion () : int

Property Value

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

Remarks

Stores a value representing the MajorVersion of the resource. 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