ISharePointProjectService 介面

定義

代表 SharePoint 專案服務,該專案服務是 SharePoint 專案物件模型的根物件。Represents the SharePoint project service, a root object for the SharePoint project object model.

[System.Runtime.InteropServices.Guid("A70F6506-018F-40FD-A2B6-21E23362E47D")]
public interface ISharePointProjectService : Microsoft.VisualStudio.SharePoint.ISharePointProjectEvents
屬性
實作

屬性

CodeRefactoringEvents

取得可用來存取與重構作業相關之事件的物件。Gets an object that provides access to events relating to refactoring operations.

DeploymentSteps

取得擴充功能目錄中所找到已安裝部署步驟的清單。Gets the list of installed deployment steps found in the extensions catalog.

IsSharePointInstalled

傳回 SharePoint 是否安裝在本機電腦上。Returns whether SharePoint is installed on the local machine.

Logger

取得記錄服務的執行個體。Gets an instance of the logging service.

PackageValidationProvider

取得協助驗證專案功能和專案封裝之 IPackageValidationProvider 的執行個體。Gets an instance of the IPackageValidationProvider that helps validate project features and the project package.

ProjectItemTypes

取得具有所有可用專案項目類型的字典。Gets a dictionary with all of the available project item types.

Projects

取得 Visual StudioVisual Studio 方案中 SharePoint 專案的集合。Gets the collection of SharePoint projects in the Visual StudioVisual Studio solution.

ServiceProvider

取得 SharePoint 專案套件的全域服務提供者。Gets the global service provider for the SharePoint project package.

SharePointConnection

取得專案服務的 SharePoint 連線。Gets the SharePoint connection for the project service.

SharePointInstallPath

取得 SharePoint 的安裝路徑,前提是 SharePoint 已安裝在系統上。Gets the path where SharePoint is installed, if SharePoint is installed on the system.

方法

Convert<TInput,TOutput>(TInput)

將專案從某類型轉換為另一個類型。Converts one project type to another.

CreateSharePointConnection(Uri, Boolean)

建立與特定網站 URL 的本機或遠端連接。Create a local or remote connection with the given site url.

事件

DeploymentCompleted

在部署 ISharePointProject 執行個體之後發生。Occurs after you deploy an ISharePointProject instance.

(繼承來源 ISharePointProjectEvents)
DeploymentStarted

在開始部署 ISharePointProject 執行個體之後發生。Occurs after you begin deploying an ISharePointProject instance.

(繼承來源 ISharePointProjectEvents)
ProjectAdded

在新增 ISharePointProject 執行個體時發生。Occurs when you add a new ISharePointProject instance.

(繼承來源 ISharePointProjectEvents)
ProjectDisposing

在處置 ISharePointProject 執行個體時發生。Occurs when you dispose an ISharePointProject instance.

(繼承來源 ISharePointProjectEvents)
ProjectInitialized

在初始化 ISharePointProject 執行個體時發生。Occurs when you initialize an ISharePointProject instance.

(繼承來源 ISharePointProjectEvents)
ProjectMenuItemsRequested

ISharePointProject 執行個體要求操作功能表項目時發生。Occurs when you request context menu items from an ISharePointProject instance.

(繼承來源 ISharePointProjectEvents)
ProjectNameChanged

在重新命名 ISharePointProject 執行個體時發生。Occurs when you rename an ISharePointProject instance.

(繼承來源 ISharePointProjectEvents)
ProjectPropertiesRequested

在查詢 ISharePointProject執行個體的屬性時發生。Occurs when you query an ISharePointProject instance for its properties.

(繼承來源 ISharePointProjectEvents)
ProjectPropertyChanged

在變更 ISharePointProject 執行個體中的專案屬性值時發生。Occurs when you change a project property value in an ISharePointProject instance.

(繼承來源 ISharePointProjectEvents)
ProjectRemoved

在移除 ISharePointProject 執行個體時發生。Occurs when you remove an ISharePointProject instance.

(繼承來源 ISharePointProjectEvents)

適用於