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(1)]
public interface IVsProjectServerHost

NameDescription
System_CAPS_pubmethodGetServerUrl(String)

Gets the URL of the hosted server.

System_CAPS_pubmethodIsServerRunning(Int32)

Determines whether the hosted server is running.

System_CAPS_pubmethodStartServer(String, UInt32)

Creates a process for a hosted server.

System_CAPS_pubmethodStopServer()

Stops 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.

Return to top
Show: