EventLogConfiguration.IsClassicLog 屬性

定義

取得值,這個值表示事件記錄檔是否為傳統事件記錄檔。Gets a value that indicates whether the event log is a classic event log. 傳統事件記錄檔的事件是在 .mc 檔案中定義,而非事件提供者所使用的資訊清單 (.xml 檔案)。A classic event log is one that has its events defined in an .mc file instead of a manifest (.xml file) used by the event provider.

public:
 property bool IsClassicLog { bool get(); };
public bool IsClassicLog { get; }
member this.IsClassicLog : bool
Public ReadOnly Property IsClassicLog As Boolean

屬性值

如果事件記錄檔是傳統記錄,則 true;否則,falsetrue if the event log is a classic log; otherwise, false.

適用於

另請參閱