共用方式為


GetWinEventCommand.LogName Property

Definition

GetLog parameter.

public:
 property cli::array <System::String ^> ^ LogName { cli::array <System::String ^> ^ get(); void set(cli::array <System::String ^> ^ value); };
public:
 property Platform::Array <Platform::String ^> ^ LogName { Platform::Array <Platform::String ^> ^ get(); void set(Platform::Array <Platform::String ^> ^ value); };
public string[] LogName { get; set; }
[System.Management.Automation.Parameter(HelpMessageBaseName="GetEventResources", HelpMessageResourceId="GetLogParamHelp", ParameterSetName="GetLogSet", Position=0, ValueFromPipeline=true, ValueFromPipelineByPropertyName=true)]
public string[] LogName { get; set; }
member this.LogName : string[] with get, set
[<System.Management.Automation.Parameter(HelpMessageBaseName="GetEventResources", HelpMessageResourceId="GetLogParamHelp", ParameterSetName="GetLogSet", Position=0, ValueFromPipeline=true, ValueFromPipelineByPropertyName=true)>]
member this.LogName : string[] with get, set
Public Property LogName As String()

Property Value

String[]
Attributes

Applies to