IWdsTransportNamespaceManager::RetrieveNamespaces method (wdstptmgmt.h)
Returns a collection of objects of the IWdsTransportNamespace interface that represent namespaces on the server that match specified criteria.
Syntax
HRESULT RetrieveNamespaces(
[in] BSTR bszContentProvider,
[in] BSTR bszNamespaceName,
[in] VARIANT_BOOL bIncludeTombstones,
[out] IWdsTransportCollection **ppWdsTransportNamespaces
);
Parameters
[in] bszContentProvider
The name of the content provider for which namespaces are to be returned. If an empty string is specified, the method returns the namespaces for all content providers.
[in] bszNamespaceName
The name of the namespace for which instances are to be returned. If an empty string is specified, the method returns all namespaces for the selected content providers.
[in] bIncludeTombstones
A value of true specifies that the method should include in the results any namespaces that have been deregistered while still having active sessions on the server. This enables an application to register another namespace with the name.
[out] ppWdsTransportNamespaces
A pointer to the object of an IWdsTransportCollection interface. This represents a collection of objects of an IWdsTransportNamespace interface that match the specified criteria.
Return value
Standard HRESULT error values are used: S_OK for success; others for failure.
Requirements
Requirement | Value |
---|---|
Minimum supported client | None supported |
Minimum supported server | Windows Server 2008 [desktop apps only] |
Target Platform | Windows |
Header | wdstptmgmt.h |
DLL | Wdstptmgmt.dll |