要求された名前を add 持つ 要素のスキーマを取得します。
構文
HRESULT GetAddElementSchema(
[in,
string] BSTR bstrElementName,
[out,
retval] IAppHostElementSchema** ppSchema
);
パラメーター
bstrElementName
BSTR要素の名前を格納している 。
ppSchema
IAppHostElementSchema インターフェイスのポインターへのポインター。
戻り値
HRESULT。 有効な値を次の表に示しますが、これ以外にもあります。
| 値 | 説明 |
|---|---|
| S_OK | 操作が成功したことを示します。 |
| ERROR_INVALID_INDEX | が見つからなかったことを bstrElementName 示します。 |
解説
メソッドは GetAddElementSchema 、 と一致する add 要素のスキーマを bstrElementName返します。
要件
| 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 |
参照
IAppHostCollectionSchema::IsMergeAppend プロパティ
IAppHostCollectionSchema インターフェイス