HotXLS Docs

Standalone XLSB OLE DB metadata

Represented connection metadata

Version 2.384.366 imports and writes a finite standalone OLE DB connection profile through the ordinary Connections collection, including public metadata edits, binary/XML conversion and normal file or stream reopen

The represented connection has Kind=xlckOleDb, wire TypeCode=5 and exactly one database-property owner; existing Name, Description, ConnectionString, CommandText, CommandType, credential selectors and refresh-policy metadata retain their public meanings

Command selectors 0, 2, 3 and 4 are admitted; selector 0 requires empty command text and writes no active command payload

Use the ordinary SaveAs overload with xlsxExcelBinaryWorkbook for binary output and xlsxOpenXMLWorkbook for the represented XML bridge

Metadata discovery also works during metadata-only or selected-sheet binary open, and owned connection metadata survives source-stream destruction before later saving

Source identity and checked output

The actual authoritative connection part, XML namespace, unique internal workbook relationship, explicit content type and absence of child relationships must qualify before binary export

Ordinary XML import remains tolerant of broader source metadata, but a reconstructed typed projection cannot grant binary qualification to an unsupported original raw source, even if the typed collection is empty

A raw-preserving XML save retains that original source decision; a source-free save may create a genuinely new canonical source part, which is separately checked as the newly accepted baseline

Deleting every connection from a valid source writes no orphan connection part, relationship or content-type declaration

Use GetConversionReport(xlsConversionExcelBinaryWorkbook) for preview or SaveAsChecked for checked output; unsupported active metadata refuses output while retaining the model and existing seekable sink bytes, extent and cursor

Finite wire and resource profile

The finite limits are 1024 connections, 1 MiB of logical binary connection metadata, 8 MiB of XML metadata staging, 65535 UTF-16 code units per database string and the checked 255-character name and descriptive metadata profile

These limits describe connection preparation and do not promise a whole-workbook peak-memory ceiling

Duplicate identities or owners, unsupported active children, incomplete records, unknown command selectors, aliases and child relationships remain refusal boundaries

Documented ignored binary fields normalize to canonical values, including an ignored reconnection selector when onlyUseConnectionFile is true; invalid active selectors still refuse

The native UID profile retains the complete observed alternate-content version envelope and GUID immediately before its connection record; other envelope versions and positions are not claimed supported

Native acceptance and remaining work

Actual Excel metadata acceptance covers imported and edited binary output and its public XML bridge through normal Open, SaveAs and normal reopen, with command selector 2 and onlyUseConnectionFile=False

The other command selectors have library and independent wire qualification; no query, refresh or macro execution is part of this profile

The genuine native XLSX source retains an independent workbook-extension refusal boundary; positive XML-to-binary evidence uses supported public/generated XML and does not promise conversion of every native XLSX package with a connection

A bounded standalone SQL or Table QueryTable graph can accompany Kind=xlckOleDb and TypeCode=5 with CommandType=2 or CommandType=3; this graph requirement does not remove the other separately represented standalone connection selectors

Server-command metadata retains the standalone database codec's existing represented limits and is not executed during transport

Standalone ODBC SQL metadata and the existing Web QueryTable graph retain their own profiles; text connections, non-SQL or table-bound QueryTables, Pivot/model connections, parameters, incompatible property families, unknown active extensions and database execution retain their separate boundaries

See XLSB values and styles for the surrounding package, lazy-loading and transactional output contracts