次の方法で共有


ICcServiceConfigure::GetProperty (Compact 2013)

3/26/2014

Deprecated.

This method returns a value associated with a property within the specified service.

Syntax

HRESULT   GetProperty(
  BSTR bstrPropertyName,
  BSTR* pbstrPropertyValue
);

Parameters

  • bstrPropertyName
    [in] Name of the property to retrieve the value for.
  • pbstrPropertyValue
    [out, retval] Value associated with the property.

Return Value

The following table shows return values for this method.

Value

Description

S_OK

Indicates the call was successful.

E_INVALIDARG

Indicates pbstrPropertyValue or bstrPropertyName is NULL.

E_FAIL

Return value for any other failure.

Requirements

Header

ccserviceconfigure.h

See Also

Reference

ICcServiceConfigure
Core Connectivity Interfaces