Waits for the given timeout till at least one agent is discovered.

C# | Visual Basic | Visual C++ | J# |
IGridServiceAgent WaitForAtLeastOne( TimeSpan timeout )
Function WaitForAtLeastOne ( _ timeout As TimeSpan _ ) As IGridServiceAgent
IGridServiceAgent^ WaitForAtLeastOne( TimeSpan timeout )
IGridServiceAgent WaitForAtLeastOne( TimeSpan timeout )

- timeout (TimeSpan)
- Time to wait.

discovered IGridServiceAgent or null if timeout elapsed.