Moonware.Server.WCF Namespace > MoonwareServerWCF Class : GetEventLogs Method |
'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 )
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