Share via


EventLogPermissionAttribute.MachineName プロパティ

定義

イベントを読み取るコンピューターの名前を取得または設定します。

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

プロパティ値

イベントを読み取るコンピューターの名前。 既定値は "." です。

例外

コンピューター名が無効です。

適用対象