次の方法で共有


IAppHostElementSchema::D oesAllowUnschematizedProperties プロパティ

スキーマで定義されていないプロパティを構成要素に追加できるかどうかを決定します。

構文

HRESULT get_DoesAllowUnschematizedProperties(  
   [out,  
   retval] VARIANT_BOOL* pfAllowUnschematized  
);  

パラメーター

pfAllowUnschematized
VARIANT_BOOL を指すポインター。 VARIANT_TRUE 未定義のプロパティを構成要素に追加できる場合は 。それ以外の場合は VARIANT_FALSE

戻り値

HRESULT。 有効な値を次の表に示しますが、これ以外にもあります。

説明
S_OK 操作が成功したことを示します。

要件

Type 説明
Client - Windows Vista 上の IIS 7.0
- Windows 7 上の IIS 7.5
- Windows 8 の IIS 8.0
- Windows 10の IIS 10.0
サーバー - Windows Server 2008 の IIS 7.0
- Windows Server 2008 R2 上の IIS 7.5
- Windows Server 2012 上の IIS 8.0
- Windows Server 2012 R2 上の IIS 8.5
- Windows Server 2016上の IIS 10.0
製品 - 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

参照

IAppHostElementSchema インターフェイス