Share via


IDiskInfo Interface

[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]

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

Namespace: WHSInfoIF
Assembly: Interop.WHSInfoIF (in interop.whsinfoif.dll)

Syntax

'Declaration
<TypeLibTypeAttribute(256)> _
<InterfaceTypeAttribute(1)> _
<GuidAttribute("BF5D924B-F617-409A-95C9-95DEFDE0040D")> _
Public Interface IDiskInfo
'Usage
Dim instance As IDiskInfo
[TypeLibTypeAttribute(256)] 
[InterfaceTypeAttribute(1)] 
[GuidAttribute("BF5D924B-F617-409A-95C9-95DEFDE0040D")] 
public interface IDiskInfo
[TypeLibTypeAttribute(256)] 
[InterfaceTypeAttribute(1)] 
[GuidAttribute(L"BF5D924B-F617-409A-95C9-95DEFDE0040D")] 
public interface class IDiskInfo
/** @attribute TypeLibTypeAttribute(256) */ 
/** @attribute InterfaceTypeAttribute(1) */ 
/** @attribute GuidAttribute("BF5D924B-F617-409A-95C9-95DEFDE0040D") */ 
public interface IDiskInfo
TypeLibTypeAttribute(256) 
InterfaceTypeAttribute(1) 
GuidAttribute("BF5D924B-F617-409A-95C9-95DEFDE0040D") 
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 megabytes (MB).

  • 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

Windows Home Server

Windows Home Server

See Also

Reference

IDiskInfo Members
WHSInfoIF Namespace

Footer image

© 2007 Microsoft Corporation. All rights reserved.