LimitEventLogCommand.OverflowAction Property
Gets and sets the value of the OverFlowAction parameter of the Limit-EventLog cmdlet. This property is introduced in Windows PowerShell 2.0.
Namespace: Microsoft.PowerShell.Commands
Assembly: Microsoft.PowerShell.Commands.Management (in Microsoft.PowerShell.Commands.Management.dll)
Usage
'Usage
Dim instance As LimitEventLogCommand
Dim value As OverflowAction
value = instance.OverflowAction
instance.OverflowAction = value
Syntax
'Declaration
<ValidateSetAttribute(System.String[])> _
<AliasAttribute(System.String[])> _
<ParameterAttribute> _
<ValidateNotNullOrEmptyAttribute> _
Public Property OverflowAction As OverflowAction
[ValidateSetAttribute(System.String[])]
[AliasAttribute(System.String[])]
[ParameterAttribute]
[ValidateNotNullOrEmptyAttribute]
public OverflowAction OverflowAction { get; set; }
[ValidateSetAttribute(System.String[])]
[AliasAttribute(System.String[])]
[ParameterAttribute]
[ValidateNotNullOrEmptyAttribute]
public:
property OverflowAction OverflowAction {
OverflowAction get ();
void set (OverflowAction value);
}
/** @property */
public OverflowAction get_OverflowAction ()
/** @property */
public void set_OverflowAction (OverflowAction value)
public function get OverflowAction () : OverflowAction
public function set OverflowAction (value : OverflowAction)
Property Value
An OverflowAction object that specifies what action is taken when the event log exceeds its maximum size.
Remarks
This topic is included in this SDK for completeness only. For more information about this cmdlet, see Limit-EventLog in the Microsoft TechNet library.
For Help at the command line, type:
get-help limit-eventlog
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Platforms
Target Platforms
See Also
Reference
LimitEventLogCommand Class
LimitEventLogCommand Members
Microsoft.PowerShell.Commands Namespace