Copyright © TIBCO Software Inc. All Rights Reserved
Copyright © TIBCO Software Inc. All Rights Reserved


Chapter 7 Connection : tibemsConnectionMetaData : tibemsConnectionMetaData_GetProvider

tibemsConnectionMetaData_GetProvider
Function
Purpose
Get the version number of the EMS installation.
C Declaration
tibems_status tibemsConnectionMetaData_GetProviderMajorVersion(
    tibemsConnectionMetaData metaData,
    tibems_int* providerMajorVersion);
 
tibems_status tibemsConnectionMetaData_GetProviderMinorVersion(
    tibemsConnectionMetaData metaData,
    tibems_int* providerMinorVersion);
 
tibems_status tibemsConnectionMetaData_GetProviderVersion(
    tibemsConnectionMetaData metaData,
    const char** providerVersion);
COBOL Call
CALL "tibemsConnectionMetaData_GetProviderMajorVersion"
     USING BY VALUE metadata
           BY REFERENCE majorVersion
           RETURNING tibems_status
END-CALL.
 
CALL "tibemsConnectionMetaData_GetProviderMinorVersion"
     USING BY VALUE metadata
           BY REFERENCE minorVersion
           RETURNING tibems_status
END-CALL.
 
CALL "tibemsConnectionMetaData_GetProviderVersion"
     USING BY VALUE metadata
           BY REFERENCE version
           RETURNING tibems_status
END-CALL.
 
metadata and version have usage pointers.
Parameters
 
The tibemsConnectionMetaData object from which the version number will be extracted.
tibemsConnectionMetaData_GetProviderMajorVersion uses this location to store the major version number of the EMS application.
tibemsConnectionMetaData_GetProviderMinorVersion uses this location to store the minor version number of the EMS application.
tibemsConnectionMetaData_GetProviderVersion uses this location to store the version number of the EMS application.
Remarks
EMS applications can retrieve the metaData object from any connection; see tibemsConnection_GetMetaData on page 212.

Copyright © TIBCO Software Inc. All Rights Reserved
Copyright © TIBCO Software Inc. All Rights Reserved