Compartir a través de


MSFT_SMStorageHardwareID class

TBD

The following syntax is simplified from Managed Object Format (MOF) code and includes all of the inherited properties.

Windows Server 2012 R2 and Windows Server 2012: This class does not inherit from MSFT_SMStorageObject which is new for Windows Server 2016.

Syntax

[dynamic, provider("WMIStorage"), AMENDMENT]
class MSFT_SMStorageHardwareID : MSFT_SMStorageObject
{
  String ObjectId;
  String Identifier;
  string StorageID;
  uint16 IDType;
  uint16 HostTypes[] = 15;
  string HostTypeDescriptions[];
  string OtherHostTypeDescriptions[];
};

Members

The MSFT_SMStorageHardwareID class has these types of members:

Methods

The MSFT_SMStorageHardwareID class has these methods.

Method Description
Delete Deletes the MSFT_SMStorageHardwareID object.

Properties

The MSFT_SMStorageHardwareID class has these properties.

HostTypeDescriptions

Data type: string array

Access type: Read-only

String representations of the corresponding entries of the HostTypes array.

HostTypes

Data type: uint16 array

Access type: Read-only

Qualifiers: ArrayType ("Indexed")

Defines the operating system, version, driver, and other host environment factors that influence the behavior exposed by storage systems.

The possible values are.

Unknown (0)

Other (1)

Standard (2)

Solaris (3)

HPUX (4)

OpenVMS (5)

Tru64 (6)

Netware (7)

Sequent (8)

AIX (9)

DGUX (10)

Dynix (11)

Irix (12)

Cisco iSCSI Storage Router (13)

Linux (14)

Microsoft Windows (15)

OS400 (16)

TRESPASS (17)

HI-UX (18)

VMware ESXi (19)

Microsoft Windows Server 2008 (20)

Microsoft Windows Server 2003 (21)

DMTF Reserved

22 32767

Vendor Specific

32768 65535

Identifier

Data type: String

Access type: Read-only

Qualifiers: Required

The ID of the logical instance of the object. This ID must be unique within the scope of the storage system.

This property is inherited from MSFT_SMStorageObject.

Windows Server 2012 R2 and Windows Server 2012: This property is present, but is not inherited from MSFT_SMStorageObject .

IDType

Data type: uint16

Access type: Read-only

Qualifiers: Required, ModelCorrespondence ("CIM_StorageHardwareID.StorageID")

The StorageID value.

The possible values are.

Other (1)

PortWWN (2)

NodeWWN (3)

Hostname (4)

iSCSI Name (5)

SwitchWWN (6)

SAS Address (7)

ObjectId

Data type: String

Access type: Read-only

Qualifiers: Key, Required

The ID of this class instance. This ID must be unique within the scope of the Windows Storage Management server that hosts the provider object.

This property is inherited from MSFT_SMStorageObject.

Windows Server 2012 R2 and Windows Server 2012: This property is present, but is not inherited from MSFT_SMStorageObject .

OtherHostTypeDescriptions

Data type: string array

Access type: Read-only

Qualifiers: ArrayType ("Indexed")

Describes the host type when the corresponding entry of the HostTypes array is Other. Can also qualify the HostTypes entry, for example, specifying a version of an operating system.

StorageID

Data type: string

Access type: Read-only

Qualifiers: Required, MaxLen (256), ModelCorrespondence ("CIM_StorageHardwareID.IDType")

A globally unique ID of the hardware.

Requirements

Minimum supported client
None supported
Minimum supported server
Windows Server 2012
Namespace
Root\Microsoft\Windows\Storage\SM
MOF
MsftStrgMan.mof
DLL
StorageService.dll

See also

MSFT_SMStorageObject

Windows Storage Management WMI Provider