ITsSbGlobalStore::EnumerateEnvironmentsByProvider method (sbtsv.h)

Returns an array that contains the environments present on the specified provider.

Syntax

HRESULT EnumerateEnvironmentsByProvider(
  [in]      BSTR                   ProviderName,
  [in, out] DWORD                  *pdwCount,
  [out]     ITsSbEnvironment ** [] ppVal
);

Parameters

[in] ProviderName

The name of the provider.

[in, out] pdwCount

A pointer to the number of environments retrieved.

[out] ppVal

A pointer to an array that contains references to the environments present. When you have finished using the array, release each element and free the array by calling the CoTaskMemFree 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

ITsSbGlobalStore