Hinweis
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, sich anzumelden oder das Verzeichnis zu wechseln.
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, das Verzeichnis zu wechseln.
The Tasks property contains a collection of tasks.
This property is read-only.
Syntax
HRESULT get_Tasks(
[out] IVMTaskCollection **taskCollection
);
| VB |
|---|
|
Property value
The IVMTaskCollection object associated with Virtual Server.
This property value is read-only.
Error codes
| Name | Meaning |
|---|---|
|
The operation was successful. |
|
The taskCollection parameter is NULL. |
|
An unexpected error occurred. |
Examples
The following example displays properties of the Tasks object associated with the VMVirtualServer object.
Set objVS = CreateObject("VirtualServer.Application")
Wscript.Echo "Name: " & objVS.Name
Set objTColl = objVS.Tasks
If objTColl.Count = 0 Then
Wscript.Echo "Current tasks: [none]"
Else
Wscript.Echo "Current tasks: "
For Each objT in objTColl
Wscript.Echo " Task: " & objT.ID & ":" & objT.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 |
|