ICompactServer::CreateUrlGroup method

Creates a URL group.

Syntax

HRESULT CreateUrlGroup(
  [in]   LPWSTR nameSpace,
  [out]  ICompactServerUrlGroup **UrlGroup
);

Parameters

Return value

If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.

Remarks

The Compact Server service allows only one level of virtual directory. For example, a user can create the URL prefix https://+:80/url1 but cannot create https://+:80/url1/myUrl. For more information about URL prefixes, see UrlPrefix Strings.

Requirements

Minimum supported client

None supported [desktop apps only]

Minimum supported server

Windows Server 2008 R2 [desktop apps only]

Redistributable

Windows Management Framework on Windows Server 2008 with SP2

Header

Managementserver.h

IDL

Managementserver.idl

Library

Managementserver.lib

See also

ICompactServer

ICompactServerUrlGroup

 

 

Send comments about this topic to Microsoft

Build date: 11/12/2012