ITsSbResourcePluginStore::EnumerateFarms method

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

Syntax

HRESULT EnumerateFarms(
  DWORD     *pdwCount,
  SAFEARRAY **pVal
);

Parameters

pdwCount

The number of farms retrieved.

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

   
Windows version None supported Windows Server 2012
Target Platform Windows
Header sbtsv.h

See Also

ITsSbResourcePluginStore

ITsSbResourcePluginStoreEx