Visual Basic (Declaration) | |
---|---|
Public Property Source As String |
Visual Basic (Usage) | Copy Code |
---|---|
Dim instance As EventLogLoggingChannel Dim value As String instance.Source = value value = instance.Source |
C# | |
---|---|
public string Source {get; set;} |
Property Value
The name registered with the event log as a source of entries.Target Platforms: Microsoft .NET Framework 2.0, Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7