RemoveEventLogCommand.Source Property
Gets and sets the value of the Source parameter for the Remove-EventLog cmdlet
Namespace: Microsoft.PowerShell.Commands
Assembly: Microsoft.PowerShell.Commands.Management (in Microsoft.PowerShell.Commands.Management.dll)
Usage
'Usage
Dim instance As RemoveEventLogCommand
Dim value As String()
value = instance.Source
instance.Source = value
Syntax
'Declaration
<ValidateNotNullOrEmptyAttribute> _
<AliasAttribute(System.String[])> _
<ParameterAttribute(ParameterSetName:="Source")> _
<ValidateNotNullAttribute> _
Public Property Source As String()
[ValidateNotNullOrEmptyAttribute]
[AliasAttribute(System.String[])]
[ParameterAttribute(ParameterSetName="Source")]
[ValidateNotNullAttribute]
public string[] Source { get; set; }
[ValidateNotNullOrEmptyAttribute]
[AliasAttribute(System.String[])]
[ParameterAttribute(ParameterSetName=L"Source")]
[ValidateNotNullAttribute]
public:
property array<String^>^ Source {
array<String^>^ get ();
void set (array<String^>^ value);
}
/** @property */
public String[] get_Source ()
/** @property */
public void set_Source (String[] value)
public function get Source () : String[]
public function set Source (value : String[])
Property Value
An array of String values that contain the event sources to be unregistered.
Remarks
This topic is included in this SDK for completeness only. For more information about this cmdlet, see Remove-EventLog in the Microsoft TechNet library.
For Help at the command line, type:
get-help remove-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
RemoveEventLogCommand Class
RemoveEventLogCommand Members
Microsoft.PowerShell.Commands Namespace