Visual Basic (Declaration) | |
---|---|
Public Overloads Sub Execute( _ ByVal username As String, _ ByVal command As String _ ) |
Visual Basic (Usage) | ![]() |
---|---|
Dim instance As Rsh Dim username As String Dim command As String instance.Execute(username, command) |
Parameters
- username
- The login name of the user account.
- command
- The command to execute.
This method executes the command specified by command. A Read method should be used to get the results.
Set ServerPort to connect to a port other than 514.
Target Platforms: Microsoft .NET Framework 2.0