Waits for the specified timeout (in time interval) till the gateway sink with the given source gateway name is identified as deployed.
Declaration Syntax
C# | Visual Basic | Visual C++ | J# |
IGatewaySink WaitForSink( string sourceGatewayName, TimeSpan timeout )
Function WaitForSink ( _ sourceGatewayName As String, _ timeout As TimeSpan _ ) As IGatewaySink
IGatewaySink^ WaitForSink( String^ sourceGatewayName, TimeSpan timeout )
IGatewaySink WaitForSink( String sourceGatewayName, TimeSpan timeout )
Parameters
- sourceGatewayName (String)
- The source gateway name to look for in a sink.
- timeout (TimeSpan)
- Time to wait.
Return Value
A IGatewaySink that has a source with the given gateway name or
if the sink is not deployed within the specified timeout.
CopyC#
null