static void EnsureVersion( int nMajorVersion, int nMinorVersion )
int nMajorVersion
The minimum required major version number of the SAS server.
int nMinorVersion
The minimum required minor version number of the SAS server.
This method ensures that the SAS server on which the program is running meets the specified version number requirement. If the version number of the SAS server is less than that specified, the program stops running and issues an error message.
This method is usually used by programs that call SAS procedures that were introduced in newer versions of SAS.
SAS.EnsureVersion( 9, 2 );