Compartir a través de


ISharePointProjectService Interface

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

Represents the SharePoint project service, a root object for the SharePoint project object model.

Namespace:  Microsoft.VisualStudio.SharePoint
Assembly:  Microsoft.VisualStudio.SharePoint (in Microsoft.VisualStudio.SharePoint.dll)

Syntax

'Declaration
<GuidAttribute("A70F6506-018F-40FD-A2B6-21E23362E47D")> _
Public Interface ISharePointProjectService _
    Inherits ISharePointProjectEvents
[GuidAttribute("A70F6506-018F-40FD-A2B6-21E23362E47D")]
public interface ISharePointProjectService : ISharePointProjectEvents

The ISharePointProjectService type exposes the following members.

Properties

  Name Description
Public property CodeRefactoringEvents Gets an object that provides access to events relating to refactoring operations.
Public property DeploymentSteps Gets the list of installed deployment steps found in the extensions catalog.
Public property IsSharePointInstalled Returns whether SharePoint is installed on the local machine.
Public property Logger Gets an instance of the logging service.
Public property PackageValidationProvider Gets an instance of the IPackageValidationProvider that helps validate project features and the project package.
Public property ProjectItemTypes Gets a dictionary with all of the available project item types.
Public property Projects Gets the collection of SharePoint projects in the Visual Studio solution.
Public property ServiceProvider Gets the global service provider for the SharePoint project package.
Public property SharePointConnection Gets the SharePoint connection for the project service.
Public property SharePointInstallPath Gets the path where SharePoint is installed, if SharePoint is installed on the system.

Top

Methods

  Name Description
Public method Convert<TInput, TOutput> Converts one project type to another.
Public method CreateSharePointConnection Create a local or remote connection with the given site url.

Top

Events

  Name Description
Public event DeploymentCompleted Occurs after you deploy an ISharePointProject instance. (Inherited from ISharePointProjectEvents.)
Public event DeploymentStarted Occurs after you begin deploying an ISharePointProject instance. (Inherited from ISharePointProjectEvents.)
Public event ProjectAdded Occurs when you add a new ISharePointProject instance. (Inherited from ISharePointProjectEvents.)
Public event ProjectDisposing Occurs when you dispose an ISharePointProject instance. (Inherited from ISharePointProjectEvents.)
Public event ProjectInitialized Occurs when you initialize an ISharePointProject instance. (Inherited from ISharePointProjectEvents.)
Public event ProjectMenuItemsRequested Occurs when you request context menu items from an ISharePointProject instance. (Inherited from ISharePointProjectEvents.)
Public event ProjectNameChanged Occurs when you rename an ISharePointProject instance. (Inherited from ISharePointProjectEvents.)
Public event ProjectPropertiesRequested Occurs when you query an ISharePointProject instance for its properties. (Inherited from ISharePointProjectEvents.)
Public event ProjectPropertyChanged Occurs when you change a project property value in an ISharePointProject instance. (Inherited from ISharePointProjectEvents.)
Public event ProjectRemoved Occurs when you remove an ISharePointProject instance. (Inherited from ISharePointProjectEvents.)

Top

See Also

Reference

Microsoft.VisualStudio.SharePoint Namespace