共用方式為


IISSchemaObject::GetSchemaPropertyAttributes

The GetSchemaPropertyAttributes method gets an object that contains the possible attributes of a specified IIS metabase property as defined in the IIS metabase schema.

HRESULT GetSchemaPropertyAttributes(
  BSTR  bstrName,
  IDispatch**  ppObject
);

Parameters

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

  • ppObject
    [retval][out] An IISPropertyAttribute Interface object containing the possible property attributes as defined in the IIS metabase schema.

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

IISSchemaObject Interface

IISPropertyAttribute Interface

IISBaseObject::GetPropertyAttribObj