Provides access to the attributes that define the schema for a property.
Syntax
IAppHostPropertySchema : public IUnknown
Methods
The following table lists the methods exposed by the IAppHostPropertySchema interface.
| Method | Description |
|---|---|
| GetMetadata | Gets metadata values from the schema. |
Properties
The following table lists the properties exposed by the IAppHostPropertySchema interface.
| Property | Description |
|---|---|
| DefaultValue | Gets the value that the IAppHostProperty::Value property returns when a value is not explicitly set. |
| IsCaseSensitive | Gets a value that indicates whether the property value is case-sensitive. |
| IsCombinedKey | Determines whether a property is part of a multiple-attribute key for a collection. |
| IsExpanded | Determines whether environment variables in a property value should be expanded. |
| IsRequired | Determines whether a value must be defined for a property. |
| IsUniqueKey | Determines whether a property value is a unique key for a collection. |
| Name | Gets the name of the current schema. |
| Type | Gets the data type of the current schema. |
| ValidationParameter | Provides attribute-validation parameter information for the current property. |
| ValidationType | Describes the type of validation that will be performed for the current property. |
Inheritance Hierarchy
IAppHostPropertySchema
Requirements
| Type | Description |
|---|---|
| Client | - IIS 7.0 on Windows Vista - IIS 7.5 on Windows 7 - IIS 8.0 on Windows 8 - IIS 10.0 on Windows 10 |
| Server | - IIS 7.0 on Windows Server 2008 - IIS 7.5 on Windows Server 2008 R2 - IIS 8.0 on Windows Server 2012 - IIS 8.5 on Windows Server 2012 R2 - IIS 10.0 on Windows Server 2016 Technical Preview |
| Product | - IIS 7.0, IIS 7.5, IIS 8.0, IIS 8.5, IIS 10.0 - IIS Express 7.5, IIS Express 8.0, IIS Express 10.0 |
| Header | Ahadmin.h |
See Also
Application Host Administration Interfaces
IAppHostElementSchema Interface