srv_getconfig

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).

Syntax

SRV_CONFIG * SRV_GETCONFIG ( SRV_SERVER * server );

Arguments
server
Is a pointer to the SRV_SERVER structure associated with the desired SRV_CONFIG element.
Returns

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.

Remarks

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.

See Also
srv_config  

  


(c) 1988-98 Microsoft Corporation. All Rights Reserved.