| Visual Basic (Declaration) | |
|---|---|
Public Property Name As String | |
| Visual Basic (Usage) | Copy Code |
|---|---|
Dim instance As EventLogLoggingChannel Dim value As String instance.Name = value value = instance.Name | |
| C# | |
|---|---|
public string Name {get; set;} | |
Property Value
The name of the log. This can be Application, System, Security, or a custom log name.Target Platforms: Microsoft .NET Framework 2.0, Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7
Copy Code