DsQuerySitesFree function

The DsQuerySitesFree function frees the memory allocated by the DsQuerySitesByCost function.

Syntax

void DsQuerySitesFree(
  PDS_SITE_COST_INFO rgSiteInfo
);

Parameters

rgSiteInfo

Pointer to an array of DS_SITE_COST_INFO structures allocated by a call to DsQuerySitesByCost.

Return Value

This function does not return a value.

Requirements

   
Minimum supported client Windows Vista
Minimum supported server Windows Server 2008
Target Platform Windows
Header ntdsapi.h
Library Ntdsapi.lib
DLL Ntdsapi.dll

See Also

DS_SITE_COST_INFO

Domain Controller and Replication Management Functions

DsQuerySitesByCost