IDiskInfo2 Interface

Represents an individual hard disk on the computer that is running Windows Home Server.

Namespace: Microsoft.HomeServer.SDK.Interop.v1
Assembly: Microsoft.HomeServer.SDK.Interop.v1 (in microsoft.homeserver.sdk.interop.v1.dll)

Usage

Syntax

'Declaration
<InterfaceTypeAttribute(1)> _
<GuidAttribute("BF1D082E-54C2-49A5-9CB1-47C3D97C2192")> _
<TypeLibTypeAttribute(256)> _
Public Interface IDiskInfo2
    Inherits IDiskInfo
[InterfaceTypeAttribute(1)] 
[GuidAttribute("BF1D082E-54C2-49A5-9CB1-47C3D97C2192")] 
[TypeLibTypeAttribute(256)] 
public interface IDiskInfo2 : IDiskInfo
[InterfaceTypeAttribute(1)] 
[GuidAttribute(L"BF1D082E-54C2-49A5-9CB1-47C3D97C2192")] 
[TypeLibTypeAttribute(256)] 
public interface class IDiskInfo2 : IDiskInfo
/** @attribute InterfaceTypeAttribute(1) */ 
/** @attribute GuidAttribute("BF1D082E-54C2-49A5-9CB1-47C3D97C2192") */ 
/** @attribute TypeLibTypeAttribute(256) */ 
public interface IDiskInfo2 extends IDiskInfo
InterfaceTypeAttribute(1) 
GuidAttribute("BF1D082E-54C2-49A5-9CB1-47C3D97C2192") 
TypeLibTypeAttribute(256) 
public interface IDiskInfo2 extends IDiskInfo

Remarks

The IDiskInfo2 interface inherits the attributes from IDiskInfo. The IDiskInfo2 interface exposes the following properties:

  • The DevicePath property contains the path to the hard disk.

  • The LocationDisplayName property defines the customized display name for the hard disk location.

  • The Size property contains the total size of the hard disk in bytes.

  • The Status property indicates the current status of the hard disk.

  • The SystemName property contains the globally unique identifier (GUID) for the hard disk.

Platforms

Development Platforms

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

Target Platforms

Windows Home Server

See Also

Reference

IDiskInfo2 Members
Microsoft.HomeServer.SDK.Interop.v1 Namespace