Waits for the RTCSRV process to startup.
Assembly: ServerAgent(in ServerAgent.dll)
Syntax
Visual Basic (declaration) |
---|
Public Shared Sub WaitForServerAvailable ( _ maxRetry As Integer _ ) |
Visual Basic (usage) |
---|
Dim maxRetry As Integer ServerAgent. WaitForServerAvailable( maxRetry) |
C# |
---|
public static void WaitForServerAvailable( int maxRetry ) |
Parameters
- maxRetry
- Type:
System
.
.
::
.
.
Int32
Supplies the maximum amount of retries if the Server is not running. Each retry results in a delay of 10 seconds.
Remarks
Note |
---|
Applications should call this method before they create their
first
|
If Microsoft Lync Server 2013 is not available, this method will
sleep for 10 seconds and check again, for up to
maxRetryCounttimes. When Lync Server
2013 is available, this method returns. If the server does not
become available after waiting for the specified number of times,
it throws either