다음을 통해 공유


IAppHostPropertySchema::IsCombinedKey 속성

속성이 컬렉션에 대한 다중 특성 키의 일부인지 여부를 확인합니다.

구문

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

매개 변수

pfIsCombinedKey
VARIANT_BOOL에 대한 포인터입니다. VARIANT_TRUE 속성이 다중 특성 키의 일부이면 이고, 그렇지 않으면 입니다 VARIANT_FALSE.

반환 값

HRESULT입니다. 가능한 값에는 다음 표에 있는 값이 포함되지만, 이에 국한되는 것은 아닙니다.

설명
S_OK 작업이 성공했음을 나타냅니다.

설명

요소는 binding 결합된 키의 예입니다. 다음 예제 binding 에서 요소는 결합된 키의 일부인 및 bindingInformation 특성을 포함합니다protocol.

<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 동일한 protocolbindingInformation 특성을 포함하는 요소가 둘 binding 이상 포함될 수 없습니다.

요구 사항

형식 Description
클라이언트 - 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
헤더 Ahadmin.h

참고 항목

IAppHostPropertySchema 인터페이스
IAppHostPropertySchema::IsUniqueKey 속성