Centreon_EventLog_2_Syslog.SyslogServer.ToString C# (CSharp) Метод

ToString() публичный Метод

Obtain all properties of this object
public ToString ( ) : String
Результат String
        public new String ToString()
        {
            String temp = "ServerAddress: " + this._ServerAddress + ", Port: " + this._ServerPort + ", Protocol: " + this._Protocol;

            if (this._Protocol.CompareTo("tcp") == 0)
            {
                temp += " , MemoryBufferMaxSize: " + this._MemoryBufferMaxSize;
            }

            return temp;
        }