RegisterPSEventCommand.SourceIdentifier Property

Namespace: Microsoft.PowerShell.Commands
Assembly: Microsoft.PowerShell.Commands.Utility (in microsoft.powershell.commands.utility.dll)

Usage

Syntax

'Declaration
<ParameterAttribute(Mandatory:=True, Position:=0, ParameterSetName:="local")> _
<ParameterAttribute(Mandatory:=True, Position:=0, ParameterSetName:="forward")> _
Public Property SourceIdentifier As String
[ParameterAttribute(Mandatory=true, Position=0, ParameterSetName="local")] 
[ParameterAttribute(Mandatory=true, Position=0, ParameterSetName="forward")] 
public string SourceIdentifier { get; set; }
[ParameterAttribute(Mandatory=true, Position=0, ParameterSetName=L"local")] 
[ParameterAttribute(Mandatory=true, Position=0, ParameterSetName=L"forward")] 
public:
property String^ SourceIdentifier {
    String^ get ();
    void set (String^ value);
}
/** @property */
public String get_SourceIdentifier ()

/** @property */
public void set_SourceIdentifier (String value)
public function get SourceIdentifier () : String

public function set SourceIdentifier (value : String)

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

Development Platforms

Windows Server 2008, Windows Vista, Windows Server 2003, Windows XP

Target Platforms

Windows Server 2008, Windows Server 2003, Windows Vista, Windows XP

See Also

Reference

RegisterPSEventCommand Class
RegisterPSEventCommand Members
Microsoft.PowerShell.Commands Namespace