Moonware.Server.WCF
GetEventLogs Method



Returns the list of events (logs) based on the provided criterias / filters
Syntax
'Declaration
 
<OperationBehaviorAttribute()>
<PrincipalPermissionAttribute(Name="", 
   Role="Server Stats", 
   Authenticated=True, 
   Action=SecurityAction.Demand, 
   Unrestricted=False)>
Public Function GetEventLogs( _
   ByVal minCrit As EventCriticality, _
   ByVal numRecords As Integer _
) As List(Of EventLog)
'Usage
 
Dim instance As MoonwareServerWCF
Dim minCrit As EventCriticality
Dim numRecords As Integer
Dim value As List(Of EventLog)
 
value = instance.GetEventLogs(minCrit, numRecords)
[OperationBehaviorAttribute()]
[PrincipalPermissionAttribute(Name="", 
   Role="Server Stats", 
   Authenticated=true, 
   Action=SecurityAction.Demand, 
   Unrestricted=false)]
public List<EventLog> GetEventLogs( 
   EventCriticality minCrit,
   int numRecords
)
[OperationBehaviorAttribute()]
[PrincipalPermissionAttribute(Name="", 
   Role="Server Stats", 
   Authenticated=true, 
   Action=SecurityAction.Demand, 
   Unrestricted=false)]
public:
List<EventLog^>^ GetEventLogs( 
   EventCriticality minCrit,
   int numRecords
) 

Parameters

minCrit
numRecords
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

MoonwareServerWCF Class
MoonwareServerWCF Members

Send Feedback