ExEventLog.IsEventCategoryEnabled method
Namespace: Microsoft.Exchange.Diagnostics
Assembly: Microsoft.Exchange.Diagnostics (in Microsoft.Exchange.Diagnostics.dll)
Syntax
'Declaration
Public Function IsEventCategoryEnabled ( _
categoryNumber As Short, _
level As ExEventLog.EventLevel _
) As Boolean
'Usage
Dim instance As ExEventLog
Dim categoryNumber As Short
Dim level As ExEventLog.EventLevel
Dim returnValue As Boolean
returnValue = instance.IsEventCategoryEnabled(categoryNumber, _
level)
public bool IsEventCategoryEnabled(
short categoryNumber,
ExEventLog.EventLevel level
)
Parameters
- categoryNumber
Type: System.Int16
Return value
Type: System.Boolean