GetWinEventCommand.MaxEvents Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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