IVdsLun interface (vdshwprv.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

Adds a LUN to the target LUN as a new plex.
IVdsLun::ApplyHints

Applies a new set of hints to the LUN. Hints that are applied to a LUN are simultaneously applied to all plexes.
IVdsLun::AssociateControllers

Sets the subsystem controllers to active or inactive with respect to the LUN.
IVdsLun::Delete

Deletes the LUN and all of its plexes. Any data on the LUN is lost. VDS frees the extents allocated to the LUN.
IVdsLun::Extend

Extends a LUN by a specified number of bytes.
IVdsLun::GetIdentificationData

Returns data from the SCSI Inquiry Data and Vital Product Data pages 0x80 and 0x83.
IVdsLun::GetProperties

Returns the properties of a LUN object.
IVdsLun::GetSubSystem

Returns the subsystem that surfaces the LUN.
IVdsLun::QueryActiveControllers

Returns an enumeration of currently active controllers�the controllers through which the LUN is accessible.
IVdsLun::QueryHints

Returns the hints currently applied to the LUN.
IVdsLun::QueryMaxLunExtendSize

Returns the maximum size by which a LUN can be extended.
IVdsLun::QueryPlexes

Returns an enumeration of the plexes in a LUN.
IVdsLun::Recover

Starts a recovery operation on a LUN.
IVdsLun::RemovePlex

Removes a plex from a LUN.
IVdsLun::SetMask

Specifies the unmasking list, which is the list of computers to be granted access to the LUN.
IVdsLun::SetStatus

Sets the status of the LUN to the specified value.
IVdsLun::Shrink

Shrinks a LUN by a specified number of bytes.

Requirements

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

See also

IVdsLunPlex::GetLun

LUN Object

VDS Interfaces