Jaa


SqlCeDatabase.CreateFile Method

Retired Content

This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This page may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.

The latest Enterprise Library information can be found at the Enterprise Library site.

Creates a new, empty database file using the file name provided in the Data Source attribute of the connection string.

Namespace:  Microsoft.Practices.EnterpriseLibrary.Data.SqlCe
Assembly:  Microsoft.Practices.EnterpriseLibrary.Data.SqlCe (in Microsoft.Practices.EnterpriseLibrary.Data.SqlCe.dll)

Syntax

'Declaration
Public Sub CreateFile
public void CreateFile()
public:
void CreateFile()
public function CreateFile()

See Also

SqlCeDatabase Class

Microsoft.Practices.EnterpriseLibrary.Data.SqlCe Namespace