Directory Services |
The DS_SITE_COST_INFO structure is used with the DsQuerySitesByCost function to contain communication cost data.
typedef struct {
DWORD errorCode;
DWORD cost; } DS_SITE_COST_INFO;
Value | Meaning |
---|---|
ERROR_SUCCESS | The communication cost of the site was obtained and is contained in the cost member of this structure. |
ERROR_DS_OBJ_NOT_FOUND | The communication cost of the site cannot be obtained. The cost member of this structure should be ignored. |
Client: Included in Windows XP and
Windows 2000 Professional.
Server: Included in Windows Server 2003 and
Windows 2000 Server.
Redistributable: Requires Active Directory Client Extension
on Windows NT 4.0 SP6a and Windows 95/98/Me.
Header: Declared in Ntdsapi.h.