Visual Basic (Declaration) | |
---|---|
Public Overloads Sub Execute( _ ByVal username As String, _ ByVal command As String, _ ByVal clientUsername As String _ ) |
Visual Basic (Usage) | ![]() |
---|---|
Dim instance As Rsh Dim username As String Dim command As String Dim clientUsername As String instance.Execute(username, command, clientUsername) |
Managed Extensions for C++ | |
---|---|
public: void Execute( string* username, string* command, string* clientUsername ) |
Parameters
- username
- The login name of the user as known to the server.
- command
- The command to execute.
- clientUsername
- Login name of the user on the client host.
This method executes the command specified by command. A Read method should be used to get the results.
The username is the login name of the user as known on the server. The clientUsername may be used if the client username differs from the server username.
Set ServerPort to connect to a port other than 514.
Target Platforms: Microsoft .NET Framework 2.0