共用方式為


IExplorerNodeContext.SharePointConnection 屬性

取得 ISharePointConnection 物件,您可以利用該物件來執行呼叫進入 SharePoint 伺服器物件模型的命令。

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

語法

'宣告
ReadOnly Property SharePointConnection As ISharePointConnection
ISharePointConnection SharePointConnection { get; }

屬性值

型別:Microsoft.VisualStudio.SharePoint.ISharePointConnection
ISharePointConnection 物件,您可以利用該物件來執行呼叫進入 SharePoint 伺服器物件模型的命令。

備註

如需呼叫到 SharePoint 伺服器物件模型中的詳細資訊,請參閱 呼叫 SharePoint 物件模型

.NET Framework 安全性

請參閱

參考

IExplorerNodeContext 介面

Microsoft.VisualStudio.SharePoint.Explorer 命名空間