This documentation is archived and is not being maintained.
XlConnectionType enumeration
Specifies the type of database connection.
Namespace:
Microsoft.Office.Interop.ExcelAssembly:
Microsoft.Office.Interop.Excel (in Microsoft.Office.Interop.Excel.dll)
No code example is currently available or this language may not be supported.
| Member name | Description |
|---|
| xlConnectionTypeOLEDB | OLEDB |
| xlConnectionTypeODBC | ODBC |
| xlConnectionTypeXMLMAP | XML MAP |
| xlConnectionTypeTEXT | Text |
| xlConnectionTypeWEB | Web |
| xlConnectionTypeDATAFEED | Data Feed |
| xlConnectionTypeMODEL | Power Pivot Model |
| xlConnectionTypeWORKSHEET | Worksheet |
| xlConnectionTypeNOSOURCE | No source |