IWdsTransportNamespaceManager::CreateNamespace method (wdstptmgmt.h)
Creates an object of an IWdsTransportNamespace interface that can be registered on the current WDS transport server.
Syntax
HRESULT CreateNamespace(
[in] WDSTRANSPORT_NAMESPACE_TYPE NamespaceType,
[in] BSTR bszNamespaceName,
[in] BSTR bszContentProvider,
[in] BSTR bszConfiguration,
[out] IWdsTransportNamespace **ppWdsTransportNamespace
);
Parameters
[in] NamespaceType
The type of the new namespace object. This can be one of the namespace types listed by the WDSTRANSPORT_NAMESPACE_TYPE enumeration.
[in] bszNamespaceName
The name of the new namespace object. If an application attempts to register this namespace with a WDS transport server, WDS confirms that the name is unique.
[in] bszContentProvider
The name of the content provider to be associated with the new namespace object.
[in] bszConfiguration
The configuration information used by the content provider. The format of this information is defined by the content provider. The value can be an empty string if no parameter is required.
[out] ppWdsTransportNamespace
A pointer to the object of an IWdsTransportNamespace interface created by this method.
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 |