LimitEventLogCommand.ComputerName Property
Gets and sets the value of the ComputerName 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 String()
value = instance.ComputerName
instance.ComputerName = value
Syntax
'Declaration
<ValidateNotNullOrEmptyAttribute> _
<AliasAttribute(System.String[])> _
<ParameterAttribute> _
Public Property ComputerName As String()
[ValidateNotNullOrEmptyAttribute]
[AliasAttribute(System.String[])]
[ParameterAttribute]
public string[] ComputerName { get; set; }
[ValidateNotNullOrEmptyAttribute]
[AliasAttribute(System.String[])]
[ParameterAttribute]
public:
property array<String^>^ ComputerName {
array<String^>^ get ();
void set (array<String^>^ value);
}
/** @property */
public String[] get_ComputerName ()
/** @property */
public void set_ComputerName (String[] value)
public function get ComputerName () : String[]
public function set ComputerName (value : String[])
Property Value
An array of String values that contain the names of the computers where the event log exists.
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