GetMajorApiVersion Method

Returns the major version no. of the currently used API Version.

Syntax

    [Integer := ] GetMajorApiVersion()

Parameters

None

Return Value

Text

Type: Integer
The major version no. of the 365 business API metadata.

See Also

GetApiVersion()
GetApiVersion(Code)
GetMajorApiVersion(Code)
GetMinorApiVersion()
GetMinorApiVersion(Code)
GetBuildApiVersion()
GetBuildApiVersion(Code)
GetRevisionApiVersion()
GetRevisionApiVersion(Code)
SetApiVersion(Code, Text)