Dim protocol As ProtocolType protocol = [Enum].Parse(GetType(ProtocolType), "Tcp")
ProtocolType typ = Enum.Parse(typeof(ProtocolType), "Tcp");