ITsSbResourcePluginStore::EnumerateFarms method (sbtsv.h)

Enumerates all the farms that have been added to the resource plug-in store.

Syntax

HRESULT EnumerateFarms(
  [out] DWORD     *pdwCount,
  [out] SAFEARRAY **pVal
);

Parameters

[out] pdwCount

The number of farms retrieved.

[out] pVal

An array of farm names. The pdwCount parameter contains the number of elements in this array. When you have finished using the array, free the allocated memory by calling the SafeArrayDestroy function.

Return value

If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.

Requirements

Requirement Value
Minimum supported client None supported
Minimum supported server Windows ServerĀ 2012
Target Platform Windows
Header sbtsv.h

See also

ITsSbResourcePluginStore

ITsSbResourcePluginStoreEx