ICompactServerUrlGroup::GetUrlPrefix method

Gets the URL prefix for a URL group. The request for the URL prefix will get routed to the longest registered URL prefix. For more information, see the longest match rule section in the UrlPrefix Strings topic. For information about URL namespace reservations and registrations, see Namespace Reservations, Registrations, and Routing.

Syntax

HRESULT GetUrlPrefix(
  [out]  LPWSTR *urlPrefix
);

Parameters

  • urlPrefix [out]
    Specifies the URL prefix for the URL group. The URL prefix should follow the same syntax defined for HTTP.sys. For more information about the format of the URL prefix, see UrlPrefix Strings.

Return value

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

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

ICompactServerUrlGroup

 

 

Send comments about this topic to Microsoft

Build date: 11/12/2012