title: How to check map network drive connection?
body: <p>I want to check whether the network drive had map before I map the network drive.
  I use this code to map the drive.</p>
  
  <pre><code> Dim network = New IWshNetwork_Class()
  
                  network.MapNetworkDrive("Z:", ServerDc, Type.Missing, username, pwd)
  </code></pre>