The
\SQLExpress
part of the name is the
instance the SQL Server runs on. You will get it with
srv.InstanceName
here ist the
microsoft doc for this property (well, not that verbose and not very helpful) perhaps this
getting started might help you a bit.
Here is a sample that worked for me
Dim serverName As String = "yourMachine"
Dim instanceName As String = "yourInstance"
Dim srv As New Microsoft.SqlServer.Management.Smo.Server(serverName + "\" + instanceName)
Dim serverNameFromSMO = srv.Name
Dim instanceNameFromSMO = srv.InstanceName