ICompactServerUrlGroup::SetProperty method
Sets either the bandwidth or connection limit in BYTEs per second. For more information about bandwidth and connection limits, see the HTTP_BANDWIDTH_LIMIT_INFO and HTTP_CONNECTION_LIMIT_INFO structures, respectively.
Syntax
HRESULT SetProperty(
[in] LPCWSTR propertyName,
[in] VARIANT value
);
Parameters
propertyName [in]
Specifies the property name to set. This string can be set to one of the following values.Name Meaning ConnectionLimit Specifies the connection limit property name.
BandwidthLimit Specifies the bandwidth limit property name.
value [in]
Specifies the value to set for the property that is defined in the propertyName parameter. The VARIANT type should be V_UI4.
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
Send comments about this topic to Microsoft
Build date: 11/12/2012