DBEngine.DefaultType property (DAO)

Applies to: Access 2013, Office 2013

Sets or returns a value that indicates what type of workspace will be used by the next Workspace object created.

Syntax

expression .DefaultType

expression A variable that represents a DBEngine object.

Remarks

The setting or return value can be one of the of the WorkspaceTypeEnum constants.

Note

ODBCDirect workspaces are not supported in Microsoft Access 2013. Use ADO if you want to access external data sources without using the Microsoft Access database engine.

The setting can be overridden for a single Workspace by setting the type argument to the CreateWorkspace method.