Scripting Object - VcView

Scripting-object corresponding to
View
Attribute of
VcViewManager
Parameter to
createListViewFromView, resetListViewFromView

Scripting Object Description

{@link View} is the base class for session-specific view objects. A view is a mechanism that supports selection of objects on the server and subsequently, access to those objects. To create a view, use the {@link ViewManager} methods. A view exists until you terminate it by calling the {@link #destroy} method, or until the end of the session. Access to a view is limited to the session in which it is created.

There are three types of views:

A view maintains a {@link ManagedObjectView#view} list that contains managed object references. You can use a view with the {@link vmodl.query.PropertyCollector} to retrieve data and obtain notification of changes to the virtual environment. For information about using views with the PropertyCollector, see the description of {@link ViewManager}.

Attributes

Name Type Description
idString

@since Unknown
morefVcManagedObjectReference

returns the ManagedObjectReference of this ManagedObject @since Unknown
sdkConnectionVcSdkConnection

@since Unknown
sdkIdString

@since Unknown
typeStringDeprecated.

Returns the name for the this managed object's vim type @since Unknown
vimHostVcSdkConnection

@since Unknown
vimIdString

@since Unknown
vimTypeString

@since Unknown

Methods

Methods defined in this Scripting Object
_getRef, createTrigger, destroyView

_getRef

@since Unknown

Parameters

NameTypeDescription
None

Return Value

Type Description
VcManagedObjectReference

createTrigger

@since Unknown

Parameters

NameTypeDescription
timeoutNumber

filterString

conditionString

filterToSyncString


Return Value

Type Description
Trigger

destroyView

Destroy this view. @since VI API 2.5

Parameters

NameTypeDescription
None

Return Value

Type Description
None