Freigeben über


EventLogSettings.SourceName Property

Definition

Gets or sets the name of the event log source. If null or not specified, ".NET Runtime" is the default.

public:
 property System::String ^ SourceName { System::String ^ get(); void set(System::String ^ value); };
public string? SourceName { get; set; }
member this.SourceName : string with get, set
Public Property SourceName As String

Property Value

Applies to