Compartir a través de


IVMVirtualServer::SupportDrivers property

The SupportDrivers property contains a collection of support drivers.

This property is read-only.

Syntax

HRESULT get_SupportDrivers(
  [out] IVMSupportDriverCollection **supportDriverCollection
);

VB
VMVirtualServer.SupportDrivers( _
  ByRef supportDriverCollection _
)

Property value

The IVMSupportDriverCollection object associated with Virtual Server.

This property value is read-only.

Error codes

Name Meaning
S_OK
The operation was successful.
E_POINTER
The supportDriverCollection parameter is NULL.
DISP_E_EXCEPTION
An unexpected error occurred.

Remarks

Support drivers are Windows drivers installed in the host operating system that provide support for Virtual Server.

Examples

The following example displays the SupportDrivers property value of the VMVirtualServer object.

Set objVS = CreateObject("VirtualServer.Application")
Wscript.Echo "Name: " & objVS.Name

Set objSDColl = objVS.SupportDrivers
If objSDColl.Count > 0 Then
  Wscript.Echo "Support drivers: "
  For Each objSD in objSDColl
    Wscript.Echo "    Type: " & objSD.Type & " (" & objSD.Description & ")"
  Next
End If

Requirements

Product
Microsoft Virtual Server 2005 onWindows Server 2003
Download
Microsoft Virtual Server 2005 R2 SP1 Update onWindows Server 2008orWindows Server 2003
Header
VsComInterfaces.h

See also

IVMVirtualServer