C# Class DNSManagement.EventLogging

EventLog helper
Datei anzeigen Open project: drorgl/MSDNSWebAdmin Class Usage Examples

Public Methods

Method Description
Count ( string logName ) : int

Number of Entries in Event Log

EventLogging ( string host, string username, string password ) : System

.ctor

Get ( string logName, int startIndex, int length ) : IList

Get a subset of EventLog entries

GetAll ( string logName ) : IList

Get All EventLog Entries as a list

Method Details

Count() public method

Number of Entries in Event Log
public Count ( string logName ) : int
logName string
return int

EventLogging() public method

.ctor
public EventLogging ( string host, string username, string password ) : System
host string
username string
password string
return System

Get() public method

Get a subset of EventLog entries
public Get ( string logName, int startIndex, int length ) : IList
logName string
startIndex int zero-based start
length int
return IList

GetAll() public method

Get All EventLog Entries as a list
public GetAll ( string logName ) : IList
logName string
return IList