次の方法で共有


IAppHostPropertySchema::IsCombinedKey プロパティ

プロパティがコレクションの複数属性キーの一部であるかどうかを判断します。

構文

HRESULT get_IsCombinedKey(  
   [out,  
   retval] VARIANT_BOOL* pfIsCombinedKey  
);  

パラメーター

pfIsCombinedKey
VARIANT_BOOL を指すポインター。 VARIANT_TRUE プロパティが複数属性キーの一部である場合は 。それ以外の場合は VARIANT_FALSE

戻り値

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

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

解説

要素は binding 、結合されたキーの例です。 次の例では、 要素に bindingprotocol 結合されたキーの一部である 属性と bindingInformation 属性が含まれています。

<element name="bindings">

<collection addElement="binding" clearElement="clear">

<attribute name="protocol" type="string" required="true" isCombinedKey="true" validationType="nonEmptyString" />

<attribute name="bindingInformation" type="string" required="true" isCombinedKey="true" validationType="nonEmptyString" />

</collection>

</element>

要素には bindings 、同じ protocol 属性を持つ任意の数の要素を含めることができます。 ただし、 要素にはbindings、同じ protocol 属性と bindingInformation 属性を持つbinding複数の要素を含めることはできません。

要件

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

参照

IAppHostPropertySchema インターフェイス
IAppHostPropertySchema::IsUniqueKey プロパティ