MajorVersion Property

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

Gets or sets the major version number.

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

Syntax

'Declaration
Public Property MajorVersion As Integer
'Usage
Dim instance As WebServiceVersion
Dim value As Integer

value = instance.MajorVersion

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

Property Value

Type: System..::.Int32
A number indicating the major version number of the service.

Remarks

Stores the major version number. Changes to the major version number indicate an incompatible change.

Permissions

See Also

Reference

WebServiceVersion Structure

WebServiceVersion Members

Microsoft.CommerceServer Namespace