Share via


GetHotFixCommand.Id Property

Gets and sets the value of the Id parameter of the Get-HotFix 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 GetHotFixCommand
Dim value As String()

value = instance.Id

instance.Id = value

Syntax

'Declaration
<ParameterAttribute(Position:=0, ParameterSetName:="Default")> _
<ValidateNotNullOrEmptyAttribute> _
<AliasAttribute(System.String[])> _
Public Property Id As String()
[ParameterAttribute(Position=0, ParameterSetName="Default")] 
[ValidateNotNullOrEmptyAttribute] 
[AliasAttribute(System.String[])] 
public string[] Id { get; set; }
[ParameterAttribute(Position=0, ParameterSetName=L"Default")] 
[ValidateNotNullOrEmptyAttribute] 
[AliasAttribute(System.String[])] 
public:
property array<String^>^ Id {
    array<String^>^ get ();
    void set (array<String^>^ value);
}
/** @property */
public String[] get_Id ()

/** @property */
public void set_Id (String[] value)
public function get Id () : String[]

public function set Id (value : String[])

Property Value

A String array that contains the identifiers of the hotfixes to be retrieved.

Remarks

This topic is included in this SDK for completeness only. For more information about this cmdlet, see Get-HotFix in the Microsoft TechNet library.

For Help at the command line, type:

get-help get-hotfix

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

GetHotFixCommand Class
GetHotFixCommand Members
Microsoft.PowerShell.Commands Namespace

Other Resources

Windows PowerShell SDK