IDiskInfo Interface

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

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

Usage

Syntax

'Declaration
<GuidAttribute("BF5D924B-F617-409A-95C9-95DEFDE0040D")> _
<TypeLibTypeAttribute(256)> _
<InterfaceTypeAttribute(1)> _
Public Interface IDiskInfo
[GuidAttribute("BF5D924B-F617-409A-95C9-95DEFDE0040D")] 
[TypeLibTypeAttribute(256)] 
[InterfaceTypeAttribute(1)] 
public interface IDiskInfo
[GuidAttribute(L"BF5D924B-F617-409A-95C9-95DEFDE0040D")] 
[TypeLibTypeAttribute(256)] 
[InterfaceTypeAttribute(1)] 
public interface class IDiskInfo
/** @attribute GuidAttribute("BF5D924B-F617-409A-95C9-95DEFDE0040D") */ 
/** @attribute TypeLibTypeAttribute(256) */ 
/** @attribute InterfaceTypeAttribute(1) */ 
public interface IDiskInfo
GuidAttribute("BF5D924B-F617-409A-95C9-95DEFDE0040D") 
TypeLibTypeAttribute(256) 
InterfaceTypeAttribute(1) 
public interface IDiskInfo

Remarks

The IDiskInfo interface exposes a set of read-only properties that represent attributes of a hard disk attached to the Windows Home Server computer.

When you want to access an instance of a hard disk on the Windows Home Server computer, use the GetDiskInfo method. The GetDiskInfo method returns an array of objects of type IDiskInfo. You can then iterate through each member of the array to access an individual IDiskInfo instance.

The IDiskInfo interface exposes the following read-only properties:

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

  • 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

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