Accesses an Open Data Services server application’s configuration structure.
Important This Open Data Services function or macro is only supported in Microsoft® SQL Server™ version 7.0 for backward compatibility.
For more information about Open Data Services functions or macros supported for backward compatibility, see Open Data Services (Level 3).
SRV_CONFIG * SRV_GETCONFIG ( SRV_SERVER * server );
A pointer to the Open Data Services server application’s SRV_CONFIG structure. If there is insufficient memory or an invalid server is specified, returns NULL.
The SRV_CONFIG structure configures the Open Data Services server application on initialization. A copy of that structure is found in the SRV_SERVER structure. The SRV_GETCONFIG macro returns a pointer to this SRV_SERVER copy of the SRV_CONFIG structure.
The pointer to SRV_CONFIG can be passed to srv_config to change configuration parameters.
srv_config |