Meta Data Services Programming
ObjectCol LoadStatus Method
The LoadStatus method is used to obtain the load status of the collection. This method only works when the ExecuteQuery method is used and you specify whether you want the resulting object collection to be loaded asynchronously. For other object collections, this method has no effect.
This method is not attached to the default interface for an ObjectCol; it is attached to the IObjectCol2 interface, which inherits from IObjectCol. For more information about accessing a member of an interface that is not the default interface, see Accessing Automation Object Members.
Syntax
variable = object.LoadStatus
The LoadStatus method syntax has the following parts.
Part | Description |
---|---|
variable | A variable declared as long. It receives the load status value. |
object | An object expression that evaluates to an ObjectCol object. |