enumerazione VDS_OBJECT_TYPE (vds.h)

[A partire da Windows 8 e Windows Server 2012, l'interfaccia COM del servizio disco virtuale viene sostituita dall'API gestione archiviazione di Windows.

Definisce il set di tipi validi di un oggetto VDS.

Sintassi

typedef enum _VDS_OBJECT_TYPE {
  VDS_OT_UNKNOWN = 0,
  VDS_OT_PROVIDER = 1,
  VDS_OT_PACK = 10,
  VDS_OT_VOLUME = 11,
  VDS_OT_VOLUME_PLEX = 12,
  VDS_OT_DISK = 13,
  VDS_OT_SUB_SYSTEM = 30,
  VDS_OT_CONTROLLER = 31,
  VDS_OT_DRIVE = 32,
  VDS_OT_LUN = 33,
  VDS_OT_LUN_PLEX = 34,
  VDS_OT_PORT = 35,
  VDS_OT_PORTAL = 36,
  VDS_OT_TARGET = 37,
  VDS_OT_PORTAL_GROUP = 38,
  VDS_OT_STORAGE_POOL = 39,
  VDS_OT_HBAPORT = 90,
  VDS_OT_INIT_ADAPTER = 91,
  VDS_OT_INIT_PORTAL = 92,
  VDS_OT_ASYNC = 100,
  VDS_OT_ENUM = 101,
  VDS_OT_VDISK = 200,
  VDS_OT_OPEN_VDISK = 201
} VDS_OBJECT_TYPE;

Costanti

 
VDS_OT_UNKNOWN
Valore: 0
Questo valore è riservato.
VDS_OT_PROVIDER
Valore: 1
L'oggetto è un provider.
VDS_OT_PACK
Valore: 10
L'oggetto è un pacchetto di dischi.
VDS_OT_VOLUME
Valore: 11
L'oggetto è un volume.
VDS_OT_VOLUME_PLEX
Valore: 12
L'oggetto è un volume plex.
VDS_OT_DISK
Valore: 13
L'oggetto è un disco.
VDS_OT_SUB_SYSTEM
Valore: 30
L'oggetto è un sottosistema.
VDS_OT_CONTROLLER
Valore: 31
L'oggetto è un controller.
VDS_OT_DRIVE
Valore: 32
L'oggetto è un'unità.
VDS_OT_LUN
Valore: 33
L'oggetto è un LUN.
VDS_OT_LUN_PLEX
Valore: 34
L'oggetto è un plex LUN.
VDS_OT_PORT
Valore: 35
L'oggetto è una porta controller.
VDS_OT_PORTAL
Valore: 36
L'oggetto è un portale iSCSI.
VDS_OT_TARGET
Valore: 37
L'oggetto è una destinazione iSCSI.
VDS_OT_PORTAL_GROUP
Valore: 38
L'oggetto è un gruppo di portale iSCSI.
VDS_OT_STORAGE_POOL
Valore: 39
L'oggetto è un pool di archiviazione.

Windows Server 2008, Windows Vista e Windows Server 2003: Non supportato.
VDS_OT_HBAPORT
Valore: 90
L'oggetto è una porta HBA.
VDS_OT_INIT_ADAPTER
Valore: 91
L'oggetto è un adattatore di iniziatore iSCSI.
VDS_OT_INIT_PORTAL
Valore: 92
L'oggetto è un portale iniziatore iSCSI.
VDS_OT_ASYNC
Valore: 100
Questo valore è riservato.
VDS_OT_ENUM
Valore: 101
Questo valore è riservato.
VDS_OT_VDISK
Valore: 200
L'oggetto è un disco virtuale.

Windows Server 2008, Windows Vista e Windows Server 2003: Non supportato.
VDS_OT_OPEN_VDISK
Valore: 201
Questo valore è riservato.

Windows Server 2008, Windows Vista e Windows Server 2003: Non supportato.

Commenti

I metodi IVdsProviderPrivate::GetObject e IVdsService::GetObject passano un valore VDS_OBJECT_TYPE come argomento per indicare un tipo di oggetto.

Nota È possibile aggiungere costanti aggiuntive all'enumerazione VDS_OBJECT_TYPE nelle versioni future di Windows. Per questo motivo, l'applicazione deve essere progettata per gestire correttamente una costante di enumerazione non riconosciuta VDS_OBJECT_TYPE .
 

Requisiti

Requisito Valore
Client minimo supportato Windows Vista [solo app desktop]
Server minimo supportato Windows Server 2003 [solo app desktop]
Intestazione vds.h

Vedi anche

IVdsProviderPrivate::GetObject

IVdsService::GetObject

Enumerazioni VDS