共用方式為


IExplorerSiteNodeInfo 介面

提供 SharePoint 網站的相關資訊 (即 Microsoft.SharePoint.SPWeb),其由 [伺服器總管] 中的 SharePoint 網站節點表示。

命名空間:  Microsoft.VisualStudio.SharePoint.Explorer
組件:  Microsoft.VisualStudio.SharePoint (在 Microsoft.VisualStudio.SharePoint.dll 中)

語法

'宣告
Public Interface IExplorerSiteNodeInfo
public interface IExplorerSiteNodeInfo

IExplorerSiteNodeInfo 型別會公開下列成員。

屬性

  名稱 說明
公用屬性 Id 取得 SharePoint 網站節點所表示 Microsoft.SharePoint.SPWeb 的 ID。
公用屬性 IsConnectionRoot 取得值,該值表示 SharePoint 網站節點是 [伺服器總管] 中 [SharePoint 連接] 節點的直接子節點。
公用屬性 IsRootWeb 取得值,該值表示 SharePoint 網站節點所表示的 Microsoft.SharePoint.SPWeb 是否是其網站集合的 RootWeb (Microsoft.SharePoint.SPSite)。
公用屬性 Title 取得 SharePoint 網站節點所表示 Microsoft.SharePoint.SPWeb 的名稱。
公用屬性 Url 取得 SharePoint 網站節點所表示 Microsoft.SharePoint.SPWeb 的 URL。

回頁首

備註

您可以從每個代表 SharePoint 網站節點的 IExplorerNodeAnnotations 屬性擷取 IExplorerSiteNodeInfo 物件。 如需詳細資訊,請參閱在伺服器總管中擴充 SharePoint 連線節點

請參閱

參考

Microsoft.VisualStudio.SharePoint.Explorer 命名空間