EventLogConfiguration.SecurityDescriptor 屬性

定義

取得或設定事件記錄檔的安全性描述元 (Security Descriptor)。Gets or sets the security descriptor of the event log. 安全性描述元會定義可讀取和寫入事件記錄檔的使用者和使用者群組。The security descriptor defines the users and groups of users that can read and write to the event log.

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

屬性值

字串,其中包含事件記錄檔的安全描述項。A string that contains the security descriptor for the event log.

備註

如果此屬性的值已變更,請呼叫 SaveChanges 方法來儲存變更。If the value of this property is changed, call the SaveChanges method to save the changes.

適用於

另請參閱