Share via


ServerVersionInfo.MajorVersion Property

This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.

Gets or sets a description of the major version number for the Exchange Server.

Namespace:  Microsoft.ServiceModel.Channels.Mail.ExchangeWebService.Exchange2007
Assembly:  Microsoft.ServiceModel.Channels.Mail.ExchangeWebService (in Microsoft.ServiceModel.Channels.Mail.ExchangeWebService.dll)

Syntax

'Declaration
Public Property MajorVersion As Integer
'Usage
Dim instance As ServerVersionInfo 
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
The major version number.

.NET Framework Security

Platforms

Windows CE, Windows Mobile for Smartphone, Windows Mobile for Pocket PC

The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

Version Information

.NET Compact Framework

Supported in: 3.5

See Also

Reference

ServerVersionInfo Class

ServerVersionInfo Members

Microsoft.ServiceModel.Channels.Mail.ExchangeWebService.Exchange2007 Namespace