GetComputerRestorePointCommand.Id Property

Gets and sets the value of the Id parameter of the Get-ComputerRestorePoint cmdlet.

Namespace: Microsoft.PowerShell.Commands
Assembly: Microsoft.PowerShell.Commands.Management (in microsoft.powershell.commands.management.dll)

Usage

Syntax

'Declaration
<ParameterAttribute(Position:=0, ParameterSetName:="ID")> _
<ValidateNotNullAttribute> _
<ValidateNotNullOrEmptyAttribute> _
<SuppressMessageAttribute("Microsoft.Performance", "CA1819:PropertiesShouldNotReturnArrays")> _
<ValidateRangeAttribute(1, 2147483647)> _
Public Property Id As Integer()
[ParameterAttribute(Position=0, ParameterSetName="ID")] 
[ValidateNotNullAttribute] 
[ValidateNotNullOrEmptyAttribute] 
[SuppressMessageAttribute("Microsoft.Performance", "CA1819:PropertiesShouldNotReturnArrays")] 
[ValidateRangeAttribute(1, 2147483647)] 
public int[] Id { get; set; }
[ParameterAttribute(Position=0, ParameterSetName=L"ID")] 
[ValidateNotNullAttribute] 
[ValidateNotNullOrEmptyAttribute] 
[SuppressMessageAttribute(L"Microsoft.Performance", L"CA1819:PropertiesShouldNotReturnArrays")] 
[ValidateRangeAttribute(1, 2147483647)] 
public:
property array<int>^ Id {
    array<int>^ get ();
    void set (array<int>^ value);
}
/** @property */
public int[] get_Id ()

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

public function set Id (value : int[])

Property Value

The restore points with the specified sequence numbers. The default is all restore points on the local computer.

Remarks

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

For Help at the command line, type:

PS>get-help get-command

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

GetComputerRestorePointCommand Class
GetComputerRestorePointCommand Members
Microsoft.PowerShell.Commands Namespace

Other Resources

Windows PowerShell SDK