WsFreeMetadata function (webservices.h)

Releases the memory resource associated with a metadata object.

Syntax

void WsFreeMetadata(
  [in] WS_METADATA *metadata
);

Parameters

[in] metadata

A pointer to the metadata object to release. The pointer must reference a valid WS_METADATA object returned by WsCreateMetadata and the referenced value may not be NULL.

Return value

None

Remarks

Any WS_POLICY objects that were retrieved using the metadata object will also be freed.

Requirements

Requirement Value
Minimum supported client Windows 7 [desktop apps | UWP apps]
Minimum supported server Windows Server 2008 R2 [desktop apps | UWP apps]
Target Platform Windows
Header webservices.h
Library WebServices.lib
DLL WebServices.dll