IVdsLun interface (vds.h)

[Beginning with Windows 8 and Windows Server 2012, the Virtual Disk Service COM interface is superseded by the Windows Storage Management API.]

Provides methods for performing query and configuration operations on a logical unit number (LUN).

Inheritance

The IVdsLun interface inherits from the IUnknown interface. IVdsLun also has these types of members:

Methods

The IVdsLun interface has these methods.

 
IVdsLun::AddPlex

The IVdsLun::AddPlex method (vds.h) adds a LUN to the target LUN as a new plex.
IVdsLun::ApplyHints

The IVdsLun::ApplyHints method (vds.h) applies a new set of hints to the LUN. Hints that are applied to a LUN are simultaneously applied to all plexes.
IVdsLun::AssociateControllers

The IVdsLun::AssociateControllers method (vds.h) sets the subsystem controllers to active or inactive with respect to the LUN.
IVdsLun::Delete

The IVdsLun::Delete method (vds.h) deletes the LUN and all of its plexes. Any data on the LUN is lost, and VDS frees the extents allocated to the LUN.
IVdsLun::Extend

The IVdsLun::Extend method (vds.h) extends a LUN by a specified number of bytes.
IVdsLun::GetIdentificationData

The IVdsLun::GetIdentificationData method (vds.h) returns data from the SCSI Inquiry Data and Vital Product Data pages 0x80 and 0x83.
IVdsLun::GetProperties

The IVdsLun::GetProperties method (vds.h) returns the properties of a LUN object.
IVdsLun::GetSubSystem

The IVdsLun::GetSubSystem method (vds.h) returns the subsystem that surfaces the LUN.
IVdsLun::QueryActiveControllers

The IVdsLun::QueryActiveControllers method (vds.h) returns an enumeration of currently active controllers which can access the LUN.
IVdsLun::QueryHints

The IVdsLun::QueryHints method (vds.h) returns the hints currently applied to the LUN.
IVdsLun::QueryMaxLunExtendSize

The IVdsLun::QueryMaxLunExtendSize method (vds.h) returns the maximum size by which a LUN can be extended.
IVdsLun::QueryPlexes

The IVdsLun::QueryPlexes method (vds.h) returns an enumeration of the plexes in a LUN.
IVdsLun::Recover

The IVdsLun::Recover method (vds.h) starts a recovery operation on a LUN.
IVdsLun::RemovePlex

The IVdsLun::RemovePlex method (vds.h) removes a plex from a LUN.
IVdsLun::SetMask

The IVdsLun::SetMask method (vds.h) specifies the unmasking list, which is the list of computers to be granted access to the LUN.
IVdsLun::SetStatus

The IVdsLun::SetStatus method (vds.h) sets the status of the LUN to the specified value.
IVdsLun::Shrink

The IVdsLun::Shrink method (vds.h) shrinks a LUN by a specified number of bytes.

Requirements

Requirement Value
Minimum supported client Windows Vista [desktop apps only]
Minimum supported server Windows Server 2003 [desktop apps only]
Target Platform Windows
Header vds.h

See also

IVdsLunPlex::GetLun

LUN Object

VDS Interfaces