IVsProjectServerHost.IsServerRunning Method
Determines whether the hosted server is running.
Namespace: Microsoft.VisualStudio.Shell.Interop
Assembly: Microsoft.VisualStudio.Shell.Interop.9.0 (in Microsoft.VisualStudio.Shell.Interop.9.0.dll)
Syntax
'Declaration
Function IsServerRunning ( _
<OutAttribute> ByRef fIsRunning As Integer _
) As Integer
int IsServerRunning(
out int fIsRunning
)
int IsServerRunning(
[OutAttribute] int% fIsRunning
)
abstract IsServerRunning :
fIsRunning:int byref -> int
function IsServerRunning(
fIsRunning : int
) : int
Parameters
fIsRunning
Type: Int32%True if the hosted server is currently running.
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 IsServerRunning([out, retval] BOOL * fIsRunning);
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.