GetEventLogCommand.AsString Property
Gets and sets the value of the AsString parameter of the Get-EventLog cmdlet.
Namespace: Microsoft.PowerShell.Commands
Assembly: Microsoft.PowerShell.Commands.Management (in Microsoft.PowerShell.Commands.Management.dll)
Usage
'Usage
Dim instance As GetEventLogCommand
Dim value As SwitchParameter
value = instance.AsString
instance.AsString = value
Syntax
'Declaration
<ParameterAttribute(ParameterSetName:="List")> _
Public Property AsString As SwitchParameter
[ParameterAttribute(ParameterSetName="List")]
public SwitchParameter AsString { get; set; }
[ParameterAttribute(ParameterSetName=L"List")]
public:
property SwitchParameter AsString {
SwitchParameter get ();
void set (SwitchParameter value);
}
/** @property */
public SwitchParameter get_AsString ()
/** @property */
public void set_AsString (SwitchParameter value)
public function get AsString () : SwitchParameter
public function set AsString (value : SwitchParameter)
Property Value
When this parameter is specified, the cmdlet output is returned as strings.
Remarks
This topic is included in this SDK for completeness only. For more information about this cmdlet, see Get-EventLog in the Microsoft TechNet library.
For Help at the command line, type:
get-help get-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
GetEventLogCommand Class
GetEventLogCommand Members
Microsoft.PowerShell.Commands Namespace