Context ConnectionContext Connection
Connecting to "self" from within your CLR stored prodedure/function. The context connection lets you execute Transact-SQL statements in the same context (connection) that your code was invoked in the first place.
using(SqlConnection connection = new SqlConnection("context connection=true"))
// Use the connection
Using connection as new SqlConnection("context connection=true")
' Use the connection