Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

Target Object

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

A target object models an iSCSI target that is contained within an iSCSI subsystem.

Use the IVdsSubSystemIscsi::QueryTargets method to determine the iSCSI targets of the subsystem. Callers can get a pointer to a specific target by selecting the desired target object from the enumeration that is returned by the QueryTargets method. With a target object, you can set the target's friendly name and query for target properties, associated LUNs, and the subsystem that contains the target.

Host computers must log on to targets to access their associated LUNs. To perform a logon to a target, the target must have at least one associated portal in one of its portal groups. Input to and output from associated LUNs is handled through this logon session.

Target object properties include an object identifier, an iSCSI name, a friendly name, and a CHAP-enabled flag.

The following table lists related interfaces, enumerations, and structures.

TypeElement
Interfaces that are always exposed by this object in VDS 1.1 and 2.0 iSCSI providers only IVdsIscsiTarget.
Associated enumerationsNone.
Associated structures VDS_ISCSI_TARGET_PROP and VDS_TARGET_NOTIFICATION.

 

Related topics

Hardware Provider Objects
IVdsSubSystemIscsi::QueryTargets

 

 

Community Additions

Show:
© 2015 Microsoft