Data Port Sync 1.0.500

SqlCeConnection Properties

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

Public Instance Properties

ConnectionString Gets or sets the connection string.
ConnectionTimeout Gets the time to wait while trying to establish a connection before terminating the attempt and generating an error.
Container (inherited from Component)Gets the IContainer that contains the Component.
Database Gets the database file name
DataSource Gets the database file name.
Encrypted Sets the database encryption flag. Equivalent to specifying the ssce:encrypt database property on the connection string.
FileName Gets or sets the database file name.
License Sets the DesktopSqlCe license
Password Sets the database password. Equivalent to specifying the ssce:database password property on the connection string.
Pipe Gets the Pipe object associated with this connection.
ServerVersion Returns the SQL Server Mobile version number as a string.
Site (inherited from Component)Gets or sets the ISite of the Component.
SqlCeDatabase Gets the underlying SqlCeDatabase object.
State Gets the current state of the connection.
TempPath Gets or sets the temporary file directory on the device. Setting this property is equivalent to specifying the ssce:temp file directory property on the connection string.
UsingRapi Gets a value that determines if the connection is using RAPI.

Protected Instance Properties

CanRaiseEvents (inherited from Component)Gets a value indicating whether the component can raise an event.
DesignMode (inherited from Component)Gets a value that indicates whether the Component is currently in design mode.
Events (inherited from Component)Gets the list of event handlers that are attached to this Component.

See Also

SqlCeConnection Class | Primeworks.DesktopSqlCe Namespace