SP へWeb.parentWeb プロパティ (sp.js)

指定した web サイトの親の web サイトを取得します。

**適用対象:**apps for SharePoint | SharePoint Foundation 2013 | SharePoint Server 2013

var value = SP.Web.get_parentWeb ()

戻り値

SP.WebInformation

親の web サイトを表すSP へWebInformation オブジェクト (sp.js)オブジェクトです。

他のリソースのエンドポイント

詳細については、 Web リソースを参照してください。

エンドポイント URI 構造

http://<sitecollection>/<site>/_api/web/parentWeb

HTTP 要求

このリソースには、次の HTTP コマンドがサポートしています。

  • 投稿

投稿の書式

POST http://<sitecollection>/<site>/_api/web/parentWeb

書式を取得します。

GET http://<sitecollection>/<site>/_api/web/parentWeb