Allocates and initializes a SRV_CONFIG 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_config_alloc ( );
A pointer to a SRV_CONFIG structure, or NULL if insufficient memory is available.
The SRV_CONFIG structure contains configuration parameters for the Open Data Services server application. After a SRV_CONFIG structure is allocated, configuration parameters can be set with srv_config.
The SRV_CONFIG structure is needed only when initializing the Open Data Services server application with srv_init. After srv_init uses this structure, the SRV_CONFIG structure can be freed with srv_free.
srv_free | srv_init |