次の方法で共有


IISBaseObject::GetDataPaths

The GetDataPaths method gets a list of paths in the IIS metabase if the specified property is defined at those nodes.

HRESULT STDMETHODCALLTYPE IISBaseObject_GetDataPaths_Proxy( 
    BSTR bstrName,
    LONG lnAttribute,
    VARIANT *pvPaths
);

Parameters

  • bstrName
    [in] The name of an IIS metabase property.

  • lnAttribute
    [in] A long specifying if you want the method to return only inheritable data (1) or all data (0).

  • pvPaths
    [retval][out] A variant converted from an array of path strings.

Property Value/Return Value

Returns a variant converted from an array of path strings.

Remarks

If the property name does not exist in the schema on the client, or if the property has no attributes, this method will fail.

Requirements

Client: Requires Windows XP Professional, Windows 2000 Professional, or Windows NT Workstation 4.0.

Server: Requires Windows Server 2003, Windows 2000 Server, or Windows NT Server 4.0.

Product: IIS

Header: Declared in iiis.h.

See Also

Concepts

IISBaseObject Interface

IMSAdminBase