This documentation is archived and is not being maintained.

IVsProjectServerHost Interface

Enables a project to start or stop its hosted server.

Namespace:  Microsoft.VisualStudio.Shell.Interop
Assembly:  Microsoft.VisualStudio.Shell.Interop.9.0 (in Microsoft.VisualStudio.Shell.Interop.9.0.dll)

[GuidAttribute("C044F284-CA0B-41F9-A4C0-E2B650234F30")]
[InterfaceTypeAttribute()]
public interface IVsProjectServerHost

The IVsProjectServerHost type exposes the following members.

  NameDescription
Public methodGetServerUrlGets the URL of the hosted server.
Public methodIsServerRunningDetermines whether the hosted server is running.
Public methodStartServerCreates a process for a hosted server.
Public methodStopServerStops a hosted server
Top

This interface should be implemented by a project system that hosts a server (such as a Web Site project that hosts a Web Server). It enables a third party to programmatically ask a project to start/stop its hosted server.

This interface is optional and is retrieved using QueryInterface from the IVsHierarchy interface of a project.

Show: