Gets or sets the remote host port.
Syntax
| Visual Basic (Declaration) | |
|---|
Public Property ServerPort As Integer |
| Visual Basic (Usage) | Copy Code |
|---|
Dim instance As Rexec
Dim value As Integer
instance.ServerPort = value
value = instance.ServerPort |
| C# | |
|---|
public int ServerPort {get; set;} |
| Managed Extensions for C++ | |
|---|
public: __property int get_ServerPort();
public: __property void set_ServerPort(
int value
); |
| C++/CLI | |
|---|
public:
property int ServerPort {
int get();
void set ( int value);
} |
Property Value
Integer defaults to 512.
Requirements
Target Platforms: Microsoft .NET Framework 2.0
See Also