Compartir a través de


IVsProjectServerHost.StopServer Method

Stops a hosted server

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

Syntax

'Declaration
Function StopServer As Integer
int StopServer()
int StopServer()
abstract StopServer : unit -> int
function StopServer() : int

Return Value

Type: Int32
If the method succeeds, it returns S_OK. If it fails, it returns an error code.

Remarks

COM Signature

From vsshell90.idl:

HRESULT StopServer();

.NET Framework Security

See Also

Reference

IVsProjectServerHost Interface

Microsoft.VisualStudio.Shell.Interop Namespace