FilePathConnectToNetworkShare Method
Connects to a network share with the specified user's credentials.
Namespace: Gemstone.IOAssembly: Gemstone.Common (in Gemstone.Common.dll) Version: 1.0.128 -- Release Build+d050cfc5563c89a1188cc3c6b2d417530856f490
public static void ConnectToNetworkShare(
string shareName,
string userName,
string password,
string domain
)
Public Shared Sub ConnectToNetworkShare (
shareName As String,
userName As String,
password As String,
domain As String
)
public:
static void ConnectToNetworkShare(
String^ shareName,
String^ userName,
String^ password,
String^ domain
)
Gemstone.IO.FilePath.ConnectToNetworkShare = function(shareName, userName, password, domain);
Parameters
- shareName String
- UNC share name to connect to.
- userName String
- Username to use for connection.
- password String
- Password to use for connection.
- domain String
- Domain name to use for connection. Specify the computer name for local system accounts.