public final class ExchangeServerInfo extends Object
Constructor and Description |
---|
ExchangeServerInfo()
Instantiates a new exchange server info.
|
Modifier and Type | Method and Description |
---|---|
int |
getMajorBuildNumber()
Gets the Major Exchange server build number.
|
int |
getMajorVersion()
Gets the Major Exchange server version number.
|
int |
getMinorBuildNumber()
Gets the Minor Exchange server build number.
|
int |
getMinorVersion()
Gets the Minor Exchange server version number.
|
String |
getVersionString()
Gets the Exchange server version string (e.g.
|
static ExchangeServerInfo |
parse(EwsServiceXmlReader reader)
Parse current element to extract server information.
|
void |
setMajorBuildNumber(int majorBuildNumber)
Sets the major build number.
|
void |
setMajorVersion(int majorVersion)
Sets the major version.
|
void |
setMinorBuildNumber(int minorBuildNumber)
Sets the minor build number.
|
void |
setMinorVersion(int minorVersion)
Sets the minor version.
|
void |
setVersionString(String versionString)
Sets the version string.
|
String |
toString()
Override ToString method.
|
public ExchangeServerInfo()
public static ExchangeServerInfo parse(EwsServiceXmlReader reader) throws Exception
reader
- EwsServiceXmlReaderException
- the exceptionpublic int getMajorVersion()
public void setMajorVersion(int majorVersion)
majorVersion
- the new major versionpublic int getMinorVersion()
public void setMinorVersion(int minorVersion)
minorVersion
- the new minor versionpublic int getMajorBuildNumber()
public void setMajorBuildNumber(int majorBuildNumber)
majorBuildNumber
- the new major build numberpublic int getMinorBuildNumber()
public void setMinorBuildNumber(int minorBuildNumber)
minorBuildNumber
- the new minor build numberpublic String getVersionString()
public void setVersionString(String versionString)
versionString
- the new version stringCopyright © 2012–2015 Microsoft. All rights reserved.