Visual Basic (Usage) | ![]() |
---|---|
Dim instance As MonitoredItem Dim eventFields As EventFieldList Dim value As String value = instance.GetEventSourceName(eventFields) |
C# | |
---|---|
public string GetEventSourceName( EventFieldList eventFields ) |
Parameters
- eventFields
- The event message event fields.
Return Value
The source name.Target Platforms: Windows 7/8/10, Windows Server 2003/2008/2012/2015, .NET4.x