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)

public interface IVsProjectServerHost

The IVsProjectServerHost type exposes the following members.

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

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.