HttpSetUrlGroupProperty function (http.h)
The HttpSetUrlGroupProperty function sets a new property or modifies an existing property on the specified URL Group.
Syntax
HTTPAPI_LINKAGE ULONG HttpSetUrlGroupProperty(
[in] HTTP_URL_GROUP_ID UrlGroupId,
[in] HTTP_SERVER_PROPERTY Property,
[in] PVOID PropertyInformation,
[in] ULONG PropertyInformationLength
);
Parameters
[in] UrlGroupId
The ID of the URL Group for which the property is set.
[in] Property
A member of the HTTP_SERVER_PROPERTY enumeration that describes the property type that is modified or set. This can be one of the following:
Property | Meaning |
---|---|
|
Enables server-side authentication for the URL Group using the Basic, NTLM, Negotiate, and Digest authentication schemes. |
|
Enables server-side authentication for the URL Group using the Kerberos authentication scheme. |
|
This value maps to the generic HTTP_QOS_SETTING_INFO structure with QosType set to either HttpQosSettingTypeBandwidth or HttpQosSettingTypeConnectionLimit. If HttpQosSettingTypeBandwidth, modifies or sets the bandwidth throttling for the URL Group. If HttpQosSettingTypeConnectionLimit, modifies or sets the maximum number of outstanding connections served for a URL Group at any time. |
|
Modifies or sets the URL Group association with a request queue. |
|
Modifies or sets logging for the URL Group. |
|
Modifies or sets the state of the URL Group. The state can be either enabled or disabled. |
|
Modifies or sets the connection timeout limits for the URL Group. |
|
Enables server side authentication that uses a channel binding token (CBT). |
[in] PropertyInformation
A pointer to the buffer that contains the property information.
pPropertyInformation points to one of the following property information structures based on the property that is set.
Property | Structure |
---|---|
HttpServerAuthenticatonProperty | HTTP_SERVER_AUTHENTICATION_INFO |
HttpServerExtendedAuthenticationProperty | HTTP_SERVER_AUTHENTICATION_INFO |
HttpServerQosProperty | HTTP_QOS_SETTING_INFO |
HttpServerBindingProperty | HTTP_BINDING_INFO |
HttpServerLoggingProperty | HTTP_LOGGING_INFO |
HttpServerStateProperty | HTTP_STATE_INFO |
HttpServerTimeoutsProperty | HTTP_TIMEOUT_LIMIT_INFO |
HttpServerChannelBindProperty | HTTP_CHANNEL_BIND_INFO |
[in] PropertyInformationLength
The length, in bytes, of the buffer pointed to by the pPropertyInformation parameter.
Return value
If the function succeeds, it returns NO_ERROR.
If the function fails, it returns one of the following error codes.
Value | Meaning |
---|---|
|
The property type specified in the Property parameter is not supported for URL Groups.
The pPropertyInformation parameter is NULL. The PropertyInformationLength parameter is zero. The UrlGroupId parameter does not contain a valid server session. The application does not have permission to set the URL Group properties. Only the application that created the URL Group can set the properties. |
Remarks
After the URL Group is created it must be associated with a request queue to receive requests. To associate the URL Group with a request queue, the application calls HttpSetUrlGroupProperty with the HttpServerBindingProperty property. If this property is not set, matching requests for the URL Group are not delivered to a request queue and the HTTP Server API generates a 503 response.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows Vista [desktop apps only] |
Minimum supported server | Windows Server 2008 [desktop apps only] |
Target Platform | Windows |
Header | http.h |
Library | Httpapi.lib |
DLL | Httpapi.dll |