ITsSbGlobalStore::EnumerateTargets method (sbtsv.h)
Returns an array that contains the specified targets present in the global store.
Syntax
HRESULT EnumerateTargets(
[in] BSTR ProviderName,
[in] BSTR FarmName,
[in] BSTR EnvName,
[in, out] DWORD *pdwCount,
[out] ITsSbTarget ** [] pVal
);
Parameters
[in] ProviderName
The provider name.
[in] FarmName
The farm name.
[in] EnvName
The environment name.
[in, out] pdwCount
The number of targets retrieved.
[out] pVal
Pointer to the retrieved ITsSbTarget objects.
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 |