ICompactServerUrlGroup::GetProperty method

Gets either the bandwidth or connection limit.

Syntax

HRESULT GetProperty(
  [in]           LPCWSTR propertyName,
  [out, retval]  VARIANT *value
);

Parameters

  • propertyName [in]
    Specifies the property name to get. 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 [out, retval]
    Specifies the value 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

ICompactServerUrlGroup

 

 

Send comments about this topic to Microsoft

Build date: 11/12/2012