다음을 통해 공유


ServerVersionInfo.MajorVersion Property

The MajorVersion property gets or sets the major version number.

Namespace: ExchangeWebServices
Assembly: EWS (in ews.dll)

Syntax

'Declaration
<XmlAttributeAttribute> _
Public Property MajorVersion As Integer
[XmlAttributeAttribute] 
public int MajorVersion { get; set; }
[XmlAttributeAttribute] 
public:
property int MajorVersion {
    int get ();
    void set (int value);
}
/** @property */
public int get_MajorVersion ()

/** @property */
public void set_MajorVersion (int value)
public function get MajorVersion () : int

public function set MajorVersion (value : int)

Property Value

The MajorVersion property returns the major version number.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

Windows XP Professional with Service Pack 2 (SP2), Windows Server 2003,

Target Platforms

Windows 98, Windows 2000, Windows 2000 Server, Windows CE, Windows Longhorn, Windows 98 Second Edition, Pocket PC, Smart Phone, Windows Server 2003, Windows XP Professional with Service Pack 2 (SP2)