Share via


GetWinEventCommand.MaxEvents Property

Definition

MaxEvents parameter.

public:
 property long MaxEvents { long get(); void set(long value); };
public:
 property long long MaxEvents { long long get(); void set(long long value); };
public long MaxEvents { get; set; }
[System.Management.Automation.Parameter(HelpMessageBaseName="GetEventResources", HelpMessageResourceId="MaxEventsParamHelp", ParameterSetName="FileSet", ValueFromPipeline=false, ValueFromPipelineByPropertyName=false)]
[System.Management.Automation.Parameter(HelpMessageBaseName="GetEventResources", HelpMessageResourceId="MaxEventsParamHelp", ParameterSetName="GetProviderSet", ValueFromPipeline=false, ValueFromPipelineByPropertyName=false)]
[System.Management.Automation.Parameter(HelpMessageBaseName="GetEventResources", HelpMessageResourceId="MaxEventsParamHelp", ParameterSetName="GetLogSet", ValueFromPipeline=false, ValueFromPipelineByPropertyName=false)]
[System.Management.Automation.Parameter(HelpMessageBaseName="GetEventResources", HelpMessageResourceId="MaxEventsParamHelp", ParameterSetName="HashQuerySet", ValueFromPipeline=false, ValueFromPipelineByPropertyName=false)]
[System.Management.Automation.Parameter(HelpMessageBaseName="GetEventResources", HelpMessageResourceId="MaxEventsParamHelp", ParameterSetName="XmlQuerySet", ValueFromPipeline=false, ValueFromPipelineByPropertyName=false)]
[System.Management.Automation.ValidateRange(1, 9223372036854775807)]
public long MaxEvents { get; set; }
member this.MaxEvents : int64 with get, set
[<System.Management.Automation.Parameter(HelpMessageBaseName="GetEventResources", HelpMessageResourceId="MaxEventsParamHelp", ParameterSetName="FileSet", ValueFromPipeline=false, ValueFromPipelineByPropertyName=false)>]
[<System.Management.Automation.Parameter(HelpMessageBaseName="GetEventResources", HelpMessageResourceId="MaxEventsParamHelp", ParameterSetName="GetProviderSet", ValueFromPipeline=false, ValueFromPipelineByPropertyName=false)>]
[<System.Management.Automation.Parameter(HelpMessageBaseName="GetEventResources", HelpMessageResourceId="MaxEventsParamHelp", ParameterSetName="GetLogSet", ValueFromPipeline=false, ValueFromPipelineByPropertyName=false)>]
[<System.Management.Automation.Parameter(HelpMessageBaseName="GetEventResources", HelpMessageResourceId="MaxEventsParamHelp", ParameterSetName="HashQuerySet", ValueFromPipeline=false, ValueFromPipelineByPropertyName=false)>]
[<System.Management.Automation.Parameter(HelpMessageBaseName="GetEventResources", HelpMessageResourceId="MaxEventsParamHelp", ParameterSetName="XmlQuerySet", ValueFromPipeline=false, ValueFromPipelineByPropertyName=false)>]
[<System.Management.Automation.ValidateRange(1, 9223372036854775807)>]
member this.MaxEvents : int64 with get, set
Public Property MaxEvents As Long

Property Value

Attributes

Applies to