Adds a network connection to the specified remote network share.
| C# | Visual Basic |
public static void AddConnection( string localName, string remoteName, NetworkCredential credentials )
Public Shared Sub AddConnection ( _ localName As String, _ remoteName As String, _ credentials As NetworkCredential _ )
- localName (String)
- Local name of mapped folder.
- remoteName (String)
- Remote path of network folder.
- credentials (NetworkCredential)
- Optional user credentials required to access the remote resource.