Determines whether the connection has been activated.
public bool IsActivated()
Public Function IsActivated() As Boolean
true if the connection has been activated; otherwise, false.
A connection is activated by calling Listen, Connect, or Accept. Therefore, if any of these methods has been called for the connection, IsActivated will return true. Otherwise, it will return false.