Share via


DataRecordset.Stat Property

Visio Automation Reference

Returns status information for an object. Read-only.

ms426401.vs_note(en-us,office.12).gif  Note
This Visio object or member is available only to licensed users of Microsoft Office Visio Professional 2007.

Version Information
 Version Added:  Visio 3.0

Syntax

expression.Stat

expression   A variable that represents a DataRecordset object.

Return Value
Integer

Remarks

If an object is a reference to an entity in a document, and if that document closes, the Stat property returns a value in which the visStatClosed bit is set.

If an object is a reference to an entity that has been deleted, the Stat property returns a value in which the visStatDeleted bit is set.

A Component Object Model (COM) object, such as a Microsoft Office Visio Document object, lives as long as it is held (pointed to) by a client, even if the object is logically in a deleted or closed state.

See Also