共用方式為


WebSvcExtRestrictionList (WMI)

The WebSvcExtRestrictionList class contains data about a single ISAPI or CGI that is used by applications on the Web server. The data specifies the location, description, and status of the extension. The WebSvcExtRestrictionList class corresponds to the WebSvcExtRestrictionList metabase property, which contains a multi-string list of all ISAPIs and CGIs that are used by applications on the Web server.

IIsStructuredDataClass (WMI)

Methods

The WebSvcExtRestrictionList object has no methods.

Properties

The WebSvcExtRestrictionList object defines the following properties, in addition to those inherited from IIsStructuredDataClass (WMI).

Property

Data type

Description

Access

String

The Access property is "0" if the extension is not accessible or "1" if the extension is accessible.

Deletable

String

The Deletable property is "1" if the server administrator is allowed to delete the extension from IIS Manager or "0" if the server administrator is not allowed to delete it from IIS Manager.

Description

String

The Description property is a localizable description of the extension.

FilePath

String

The FilePath property contains the full path to the extension. If the last four characters of the physical path are ".dll" (case insensitive), then the extension is an ISAPI, otherwise it is a CGI. In the case of CGI script mappings, the physical path must contain the physical path from the mapping (i.e. "c:\windows\system32\cmd.exe %s %s").

ServerExtension

String

The ServerExtension property is a non-localizable string used to identify groups of extensions. For example, "ASP", "HTTPODBC", or "SSINC", and so on. You can make your application dependent upon the status of this group by using the IIsWebService.AddDependency method.

Requirements

Server: Requires or Windows Server 2003.

Product: IIS

See Also