Gets an integer containing the major version number of the server to which the client is connected.
[Visual Basic]
Public ReadOnly Property ServerMajorVersion As Integer
[C#]
public int ServerMajorVersion {get;}
[C++]
public: __property int get_ServerMajorVersion();
[JScript]
public function get ServerMajorVersion() : int;