Partager via


IISSchemaObject Interface

The IISSchemaObject interface contains methods that can get and set a file name extension and MIME type. This interface allows you to

This interface can be used from a C++ or Visual Basic application that uses ADSI. The required header file, IIIS.h, is installed with Visual Studio and the IIS Software Developer Kit.

For a C++ code example that uses ADSI to configure the metabase, see Using ADSI to Configure IIS in a C++ Application.

Methods in Vtable Order

The IISSchemaObject interface exposes the following methods.

Method

Description

GetSchemaPropertyAttributes

Gets an object that contains the possible attributes of a specified IIS metabase property as defined in the IIS metabase schema.

PutSchemaPropertyAttributes

Sets the possible attributes of a specified IIS metabase property as defined in the IIS metabase schema. This method is for internal use unless you have extended the schema and you are configuring a custom property in the 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

IIS ADSI Provider Interfaces

Using ADSI to Configure IIS in a C++ Application

IIS Constants and Header Files