Gets the port number of the server.
Syntax
Visual Basic (Declaration) | |
---|
Public ReadOnly Property ServerPort As String |
Visual Basic (Usage) | Copy Code |
---|
Dim instance As EventLogEntry
Dim value As String
value = instance.ServerPort
|
C# | |
---|
public string ServerPort {get;} |
C++/CLI | |
---|
public:
property String^ ServerPort {
String^ get();
} |
Return Value
The port number of the server.
Example
Requirements
Target Platforms: Microsoft .NET Framework 3.0, Windows XP, Windows Server 2003 family, Windows Server 2008 family
See Also