ITsSbGlobalStore::EnumerateEnvironmentsByProvider method

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

Syntax


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

Parameters

ProviderName [in]

The name of the provider.

pdwCount [in, out]

A pointer to the number of environments retrieved.

ppVal [out]

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

Minimum supported client

None supported

Minimum supported server

Windows Server 2012

IDL

Sbtsv.idl

See also

ITsSbGlobalStore

 

 

Show: