Visual Basic (Declaration) | |
---|---|
Public Function New( _ ByVal hostname As String, _ ByVal port As Integer _ ) |
Visual Basic (Usage) | Copy Code |
---|---|
Dim hostname As String Dim port As Integer Dim instance As New SysLogLoggingChannel(hostname, port) |
Parameters
- hostname
- The syslog server hostname.
- port
- The syslog server port.
Target Platforms: Microsoft .NET Framework 2.0, Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7