This documentation is archived and is not being maintained.

SqlCeConnection Properties

The properties of the SqlCeConnection class are listed here. For a complete list of SqlCeConnection class members, see the SqlCeConnection Members topic.

Public Properties

public propertyConnectionString

Supported only by the .NET Compact Framework.

Gets or sets the string used to open a database.
public propertyConnectionTimeout

Supported only by the .NET Compact Framework.

Gets the time to wait while trying to establish a connection before terminating the attempt and generating an error.
public propertyDatabase

Supported only by the .NET Compact Framework.

Gets the name of the current database or the database to be used when a connection is open.
public propertyDataSource

Supported only by the .NET Compact Framework.

Gets the file name of the data source. In SQL Server CE, databases are always stored in separate files.
public propertyState

Supported only by the .NET Compact Framework.

Gets the current state of the connection.

See Also

SqlCeConnection Class | System.Data.SqlServerCe Namespace

Show: