VB / .net API ConnectionSettingsBuild + KeepReconnecting

Its a static method not a static class and should work fine in vb.net

you want something like:

Dim builder As New ConnectionSettingsBuilder()
let cfg = builder.KeepReconnecting().Build()

connection = EventStoreConnection.Create(cfg,…)

Note that the builder is a fluent chain that puts stuff into the builder so in general you just do a big long train.

The problem in your code is that you didn’t assign to test (cant remember if there is some implicit invocation of Build or not - I think the () is needed)