Compartilhar via


Connections Members

Include Protected Members
Include Inherited Members

A collection of Connection objects for the specified workbook.

The Connections type exposes the following members.

Properties

  Name Description
Public property _Default
Public property Application When used without an object qualifier, this property returns an _Application object that represents the Microsoft Office Excel application. When used with an object qualifier, this property returns an Application object that represents the creator of the specified object. Read-only.
Public property Count Returns the number of objects in the collection. Read-only Integer.
Public property Creator Returns a constant in the XlCreator enumeration that indicates the application in which this object was created. Read-only.
Public property Parent Returns the parent object for the specified object. Read-only.

Top

Methods

  Name Description
Public method Add Adds a new connction to the workbook.
Public method AddFromFile Adds a connection from the specified file.
Public method GetEnumerator() (Inherited from IEnumerable.)
Public method GetEnumerator()
Public method Item This method creates a connection item.

Top

See Also

Reference

Connections Interface

Microsoft.Office.Interop.Excel Namespace