System.Data.SqlServerCe Determines whether the subscription will be added to an existing database or whether a new database will be created when the subscription is added. Adds the subscription to the existing database that defined in the connection string. Causes a new SQL Server Compact database to be created when the subscription is created. When passed to the function, the CommitMode specifies when the commit occurs. Changes are committed to disk after user-specified flush interval. The default flush interval is 10 seconds but can be modified within the . Changes are committed immediately. Specifies the options to use when using the method. Maintains the current position after inserting a new row. Positions the cursor on the newly-inserted row. Specifies the options used by the method when specifying the index range over which to seek. Includes the startData value in the range. Includes the endData value in the range. Excludes the startData value from the range. Excludes the endData value from the range. Excludes null values from the range. Specifies a range in which index values begin with the value of startData. When using the Prefix option, endData must be set to null. Specifies a range in which index values match the value of startData. When using the Match option, endData must be set to null. Equivalent to setting both the and flags. Options that specify how the method will seek on an index. Advances to the first matching row (in index order) on the index. Advances to the last matching row (in index order) on the index. Advances to the last matching row on the index. If there are no matching rows, advances to the first row with values after the seek value, in index order. Advances to the first row with values (in index order) after the seek value. Advances to the first matching row on the index. If there are no matching rows, advances to the last row with values before the seek value, in index order. Advances to the last row with values (in index order) before the seek value. Specifies whether to leave or delete the database when dropping a subscription using the method. Deletes the replication system tables and all replication system columns in the user tables when you drop a subscription using the method, but does not delete the SQL Server Compact database. Deletes the SQL Server Compact database when you drop a subscription using the method. Unregisters the SQL Server Compact database from a subscription.  Specifies whether data is merged up to the Publisher only, or merge in both directions between the Publisher and the Subscriber. No options are specified. Merges only the Subscriber changes with the Publisher. Merges all changes between the Publisher and Subscriber. This is the default setting. Specifies the network protocol to use when setting the or properties of the object. Use the currently-configured Net-Library when setting the or properties of the object. Use the TCP/IP Sockets Net-Library when setting the or properties of the object. Use the Multiprotocol Net-Library when setting the or properties of the object. A user-defined delegate to the event that fires at the start of downloading table changes from the server. The interface returned by the method. The name of the table being downloaded from the server. A user-defined delegate to the event that fires at the start of uploading table changes to the server. The interface returned by the BeginSynchronize method. The name of the table being uploaded to the server. A user-defined delegate that consumes the ongoing synchronization events reported during the reconciler work. The interface returned by the BeginSynchronize method. The value returned by the reconciler that represents the percent of replication work completed by the reconciler. Specifies the criteria to use to purge metadata when using the method or the method of the class. This value is reserved for use by the tracking infrastructure. Do not use it in your code. Specifies that metadata will be deleted based on whether it is older than a specified number of days. Specifies that metadata will be deleted based on the Commit Sequence Number (CSN) of the last transaction to modify it. This value is reserved for use by the tracking infrastructure. Do not use it in your code. Specifies whether or not the rows associated with the should be batched together in a single transaction. Indicates that SQL Server Compact does not batch rows pushed to SQL Server. The server processes each row separately. This is the default setting. Indicates that SQL Server Compact batches the rows pushed to SQL Server into a single transaction. Specifies whether or not the table being pulled to the device is tracked. Indicates that SQL Server Compact does not track changes to the pulled table. No PRIMARY KEY constraints are created locally. Indicates that SQL Server Compact tracks all changes to the pulled table. PRIMARY KEY constraints related to the value specified for are created on the local table. This is the default setting. Indicates that SQL Server Compact tracks all changes to the pulled table. Indexes and PRIMARY KEY constraints that existed on the SQL Server table specified in are created on the local table. Indicates that SQL Server Compact does not track changes to the pulled table. Indexes and PRIMARY KEY constraints that existed on the SQL Server table specified in are created on the local table. When passed to the method, specifies the type of database repair to perform. Deletes all corrupted rows without attempting to fix them. Attempts to fix all corrupted rows rather than deleting them. Fixes all of the corrupted rows that it is possible to fix. Rows that cannot be fixed are left unmodified. Attempts to fix all corrupted rows. If not all of the rows can be fixed, none of them are modified and the operation fails. An enumerator that can be used to iterate through a collection of records in a ResultSet object. The is not designed to be used directly from within your code. You will get more functionality by working directly with the object. Initializes a new instance of the class. A object containing the records to be enumerated. The current record in the . Moves to the next record in the . Positions the cursor before the first record in the . Sets options for the . No ResultSet options are specified. The ResultSet allows updates. The ResultSet can be scrolled both forward and backward. The ResultSet detects changes made to the data source. The ResultSet does not detect changes made to the data source. Sets the sensitivity of the . No sensitivity is set for the ResultSet. The ResultSet does not detect changes made to the data source. The ResultSet detects changes made to the data source. Implements data binding interfaces and provides a bridge between user interface controls and the . Gets or sets the columns by name in a which will be bound to a given control. This event is raised when items are added or removed from the . Gets or sets the columns by ordinal position in a which will be bound to a given control. Specifies the mode of security to use when connecting to the Publisher or Distributor during Replication. Use SQL Server Authentication when connecting to the Publisher or Distributor during Replication. This is the default. Use Integrated Windows Authentication when connecting to the Publisher or Distributor during Replication. Controls how snapshot files are transferred from the Distributor to the computer running IIS. The snapshot file will be transferred from the Universal Naming Convention (UNC) share on the server. This is the default. The snapshot file will be transferred via the FTP protocol. [SECURITY CRITICAL] Provides methods that can be used to track changes to tables in a SQL Server Compact database. [SECURITY CRITICAL] Initializes a new instance of the class with a . A that represents the connection to a data source. [SECURITY CRITICAL] Initializes a new instance of the class with a . A that represents the transaction in which change tracking executes. [SECURITY CRITICAL] Disables tracking on the specified table. The name of the table on which to disable change tracking. [SECURITY CRITICAL] Releases all resources used by the current instance of the class. [SECURITY CRITICAL] Releases the unmanaged resources used by the class and optionally releases the managed resources. true to release both managed and unmanaged resources; false to release only unmanaged resources. [SECURITY CRITICAL] Enables tracking on the specified table. The name of the table on which to enable tracking. One of the values of that specifies the row key to use for tracked data. The row key uniquely identifies table rows to the tracking system and can be either the primary key of the table or a column of type uniqueidentifier that has the ROWGUIDCOL attribute applied. A bitwise combination values that specifies the database operations to be tracked on the table. [SECURITY CRITICAL] Returns the Commit Sequence Number (CSN) of the last transaction committed for the data source associated with the object. The CSN for the data source. [SECURITY CRITICAL] Gets a value that indicates the database operations that are currently being tracked on the specified table. true if the table is currently being tracked (tracking is enabled); otherwise, false. The name of the table for which to retrieve the operations that are currently being tracked. When this method returns, contains a bitwise combination of values, which indicates the operations that are currently being tracked. This parameter is passed uninitialized. [SECURITY CRITICAL] Converts the row key from the specified table into the format used for the row key in the tombstone table. An array of bytes that represents the value of the row key in the tombstone table. The name of the table containing the row. An array that contains the column values of the row key. [SECURITY CRITICAL] Purges tombstone data for the specified table. The name of the table for which to delete the tombstone data. One of the values of that specifies whether the purge is time based or based on the commit sequence number (CSN) of the last transaction to modify the tombstone data. A number that specifies the limit up to which tombstone rows should be retained. In the case of a time based purge the parameter specifies the number of days from the present date for which to retain tombstone data. In the case of a CSN based purge, the parameter specifies the CSN of the last transaction for which tombstone data should be retained. [SECURITY CRITICAL] Purges the specified data from the transaction history table. One of the values of that specifies whether the purge is time based or based on the commit sequence number (CSN) of the last transaction to modify the transaction history data. A number that specifies the limit up to which rows should be retained. In the case of a time based purge the parameter specifies the number of days from the present date for which to retain transaction history data. In the case of a CSN based purge, the parameter specifies the CSN of the last transaction for which transaction history data should be retained. [SECURITY CRITICAL] Converts the representation of a row key used in the tombstone table into the column values of the row key used in the specified table. An array of objects that contains the column values of the row key used in the table. The name of the table. An array of bytes that represents the value of the row key in the tombstone table. [SECURITY CRITICAL] Upgrades tracking metadata in a SQL Server Compact SP2 database, on which tracking has been enabled, for use by Microsoft Sync Framework Service Pack 1 (SP1) and later versions of Sync Framework. true if the database was successfully upgraded or if the database is not currently being tracked; otherwise, false. A connection string to the data source. Represents an SQL statement to execute against a data source. Initializes a new instance of the class. Initializes a new instance of the class with the text of the query. The text of the query. Initializes a new instance of the class with the text of the query and a . The text of the query. A that represents the connection to a data source. Initializes a new instance of the class with the text of the query, a , and the . The text of the query. A that represents the connection to a data source. The transaction in which the executes. Attempts to cancel the execution of a . Gets or sets an SQL statement to execute at the data source. The SQL statement to execute or the name of the base table to open. The default value is an empty string. Gets or sets the wait time before terminating the attempt to execute a command and generating an error. Always zero (0) for SQL Server Compact. Gets or sets a value indicating how the property is interpreted. One of the values. The default is . The value was not a valid . Gets or sets the used by this instance of the . The connection to a data source. The default value is null. The property was changed while a transaction was in progress. Creates a new instance of a object. A object. Get always returns false; set always throws a . Executes an SQL statement against the and returns the number of rows affected. The number of rows affected. The connection does not exist.-or- The connection is not open.-or- Cannot execute a command within a transaction context that differs from the context in which the connection was originally enlisted. Sends the to the and builds a . A object. Cannot execute a command within a transaction context that differs from the context in which the connection was originally enlisted. Sends the to the and builds a by using one of the values. A object. One of the values. Cannot execute a command within a transaction context that differs from the context in which the connection was originally enlisted. Sends the to the and builds a by using the . The ResultSetOptions to use when building the ResultSet. Sends the to the and builds a by using the . The ResultSetOptions to use when building the ResultSet. The ResultSet to build. Executes the query and returns the first column of the first row in the result set that is returned by the query. Extra columns or rows are ignored. The first column of the first row in the result set. Cannot execute a command within a transaction context that differs from the context in which the connection was originally enlisted. Specifies the index to be opened. The name of the index to be opened. Gets the . The parameters of the SQL statement. The default is an empty collection. Creates a prepared (or compiled) version of the command on the data source. The is not set.-or -The is not . Restricts the set of rows that will be read by the . The options used when specifying the range. The starting key values for the range. The ending key values for the range. property has not been set. Gets or sets the transaction in which the executes. The . The default value is null. Gets or sets how command results are applied to the when used by the method of the . This property should not be used with the .NET Compact Framework Data Provider for SQL Server Compact. One of the values. The default is Both. If the command is automatically generated, the default is None. The value entered was not one of the values. Provides a means of automatically generating single-table commands used to reconcile changes made to a with the associated database. This class cannot be inherited. Initializes a new instance of the class. Initializes a new instance of the class with associated and objects. The name of the . Not supported in SQL Server Compact. Not supported in SQL Server Compact. Specifies which is to be used by the . A object. Gets or sets a object for which SQL statements are automatically generated. A object. Gets the automatically generated object required to perform deletions on the database when an application calls on the . The automatically generated object required to perform deletions. Gets the automatically generated object required to perform inserts on the database when an application calls on the . The automatically generated object required to perform inserts. Gets the automatically generated object required to perform updates on the database when an application calls on the . The automatically generated object required to perform updates. Returns the correct quoted form of the specified identifier. The quoted form of the identifier. The identifier for which to return the quoted form. is null. Gets or sets the beginning character or characters to use when specifying SQL Server database objects (for example, tables or columns) whose names contain characters such as spaces or reserved tokens. The beginning character or characters to use. The default is an empty string. This property cannot be changed after an INSERT, UPDATE, or DELETE command has been generated. Gets or sets the ending character or characters to use when specifying SQL Server database objects (for example, tables or columns) whose names contain characters, such as spaces or reserved tokens. The ending character or characters to use. The default is an empty string. This property cannot be changed after an INSERT, UPDATE, or DELETE command has been generated. Not supported in SQL Server Compact. Returns the correct unquoted form of the specified identifier. The identifier with all quotes removed. The identifier for which to return the unquoted form. is null. Represents an open connection to a SQL Server Compact data source. Initializes a new instance of the class. Initializes a new instance of the class with the specified connection string. The connection used to open the database. Begins a database transaction. An object representing the new transaction. Begins a database transaction with the current value. An object representing the new transaction. The transaction isolation level for this connection. Changes the current database for an open . The database name. The database name is not valid. The connection is not open. The databases cannot be changed. Closes the connection to the data source. This is the preferred method of closing any open connection. Gets or sets the string used to open a database. The .NET Compact Framework Data Provider for SQL Server Compact connection string that includes the data source name and other parameters needed to establish the initial connection. The default value is an empty string. An invalid connection string argument has been supplied. Gets the time to wait while trying to establish a connection before terminating the attempt and generating an error. The time (in seconds) to wait for a connection to open. The value is always 0 in SQL Server Compact. Creates and returns a object associated with the . A object. Gets the name of the current database or the database to be used when a connection is open. The name of the current database or the name of the database to be used when a connection is open. The default value is an empty string. For SQL Server Compact, the value for this property should be the full path of the database file; for example, "\myApp\myDB.sdf". Gets the unique identifier of the current database while synchronizing. The unique identifier of the current database. Gets the file name of the data source. The location and file name of the data source. The default value is an empty string. Releases all resources used by the current instance of the class. Enlists in the specified . The transaction in which you want to enlist The connection is already enlisted in a local transaction.-or-The connection could not be enlisted in the transaction. is null. Occurs when the background flush fails. Returns a set of Key Value pairs with information about locale, encryption mode, and case-sensitivity setting of the connected database. Sorted list with the name value pairs of locale, encryption mode, and case sensitivity. Returns schema information for the data source of this . A that contains schema information. Returns schema information for the data source of this using the specified string for the schema name. A that contains schema information. The schema name. Returns schema information for the data source of this using the specified string for the schema name and the specified string array for the restriction values. A that contains schema information. The schema name. A set of restriction values. Occurs when the .NET Compact Framework Data Provider for SQL Server sends a warning or an informational message. Opens a database connection with the property settings specified by the . The connection is already open. A connection-level error occurred while opening the connection. Returns the database version number as a string. A string of the version of SQL Server Compact. Gets the current state of the connection. A bitwise combination of the values. The default is Closed. Occurs when the state of the connection changes. Provides a simple way to create and manage the contents of connection strings used by the class. Initializes a new instance of the class using default values. Initializes a new instance of the class using the specified connection string that provides the data for the instance’s internal connection information. The Connection String. Gets or sets the percent of free space in the database file that is allowed before autoshrink begins. A value of 100 disables autoshrink. If not specified, the default value is 60. Gets or sets a value that indicates whether or not the database collation is case-sensitive. true if the database is case-sensitive; otherwise, false. Clears the contents of the instance. Determines whether the contains a specific key. true if the contains an element that has the specified key; otherwise, false. The key to locate in the . Gets or sets the file path and name of the SQL Server Compact database. The file path and name of the SQL Server Compact database. Gets or sets the number of locks a transaction will acquire before attempting escalation from row to page, or from page to table. The number of locks a transaction will acquire before attempting escalation from row to page, or from page to table. Gets or sets the default number of milliseconds that a transaction will wait for a lock. The number of milliseconds that a transaction will wait for a lock. The default value is 2000 if not specified. Gets or sets a value that indicates whether or not the database is encrypted. true if the database is encrypted; otherwise, false. Must be set to true to enable encryption or false for no encryption. Gets or sets the encryption mode with which the database is to be created against. The encryption mode with which the database is to be created against. Gets or sets a value that indicates whether a connection database is opened by using Enlist. true if a connection database is opened by using Enlist, otherwise, false. Gets or sets the mode to use when opening the database file. The mode value to use when opening the database file. Gets or sets the specified interval time (in seconds) before all committed transactions are flushed to disk. The specified interval time (in seconds). If not specified, the default value is 10. Gets or sets the locale ID (LCID) to use with the database. The value of the locale ID (LCID). Gets a value that indicates whether the SqlCeConnectionStringBuilder has a fixed size. true if the SqlCeConnectionStringBuilder has a fixed size; otherwise, false. Gets or sets the value associated with the specified key. The value associated with the specified key. The key of the item to get or set. Gets an ICollection that contains the keys in the . An ICollection that contains the keys in the . Gets or sets the largest amount of memory, in kilobytes that SQL Server Mobile can use before it starts flushing changes to disk. The largest amount of memory in kilobytes. The default value is 640 if not specified. Gets or sets the maximum size of the database, in Megabytes. The maximum size of the database, in Megabytes. The default value is 128. Gets or sets the database password, which can be up to 40 characters in length. The value of the database password. Gets or sets a value that indicates whether the security-sensitive information, such as the password is not returned as part of the connection. true if the security-sensitive information is returned as part of the connection; otherwise, false. The default value is false. Removes the entry with the specified key from the instance. true if the key existed within the connection string and was removed; false if the key did not exist. The key of the key/value pair to be removed from the connection string in this . Indicates whether the specified key exists in this instance. true if the contains an entry with the specified key; otherwise, false. The key to locate in the . Gets or sets the maximum size of the temporary database file, in Megabytes. The maximum size of the temporary database file, in Megabytes. The default value is 128. Gets or sets the location of the temporary database. The location of the temporary database. Retrieves a value corresponding to the supplied key from this . true if keyword was found within the connection string; otherwise, false. The key of the item to retrieve. The value corresponding to keyword. Gets an ICollection that contains the values in the . An ICollection than contains the values in the . Represents a set of data commands and a database connection that are used to fill the and update the data source. Initializes a new instance of the class. Initializes a new instance of the class with the specified as the property. A that is a SELECT statement. This is set as the property of the . Initializes a new instance of the class with a and a object. A that is an SQL SELECT statement to be used as the of the property of the . A that represents the connection. Initializes a new instance of the class with a and a connection string. A that is an SQL SELECT statement to be used as the of the property of the . The connection string. Gets or sets an SQL statement for deleting records from the data set. A used during to delete records in the data source that correspond to deleted rows in the . Disposes the current instance. Gets or sets an SQL statement used to insert new records into the data source. A used during to insert records in the data source that correspond to new rows in the . Occurs during a call to after an update command is executed against the data source. The attempt to update is made and then this event fires. Occurs during a call to before an update command is executed against the data source. The attempt to update is made, and then this event fires. Gets or sets an SQL statement used to select records in the data source. A that is used during to select records from data source for placement in the . For a description of this member, see . Returns . Gets or sets an SQL statement used to update records in the data source. A used during to update records in the data source that correspond to modified rows in the . Provides a way of reading a forward-only stream of data rows from a data source. This class cannot be inherited. Closes the object. Gets a value indicating the depth of nesting for the current row. The depth of nesting for the current row. The .NET Compact Framework Data Provider for SQL Server Compact does not support nesting and always returns zero. Releases the resources consumed by this . Releases the unmanaged resources used by this , and optionally releases the managed resources as well. Specifies whether to release managed resources. Gets the number of columns in the query's SELECT clause. When not positioned in a valid recordset, 0; otherwise, the number of columns in the current record. There is no current connection to a data source. Releases unmanaged resources and performs other cleanup operations before the is reclaimed by garbage collection. Gets the value of the specified column as a Boolean. The value of the column. The zero-based column ordinal. The specified cast is not valid. The value is null. The operation is not valid. The may be positioned after the last row in the result set. Gets the value of the specified column as a byte. The value of the specified column as a byte. The zero-based column ordinal. The specified cast is not valid. The value is null. The operation is not valid. The may be positioned after the last row in the result set. Reads a stream of bytes from the specified column offset into the buffer as an array starting at the given buffer offset. The actual number of bytes read. The zero-based column ordinal. The index within the field from which to begin the read operation. The buffer into which to read the stream of bytes. The index for to begin the read operation. The maximum length to copy into the buffer. The operation is not valid. The may be positioned after the last row in the result set. Not supported in the .NET Compact Framework Data Provider for SQL Server Compact. Returns . Reads a stream of characters from the specified column offset into the buffer as an array starting at the given buffer offset. The actual number of characters read. The zero-based column ordinal. The index within the row from which to begin the read operation. The buffer into which to copy data. The index for to begin the read operation. The number of characters to read. The operation is not valid. The may be positioned after the last row in the result set. Gets the name of the source data type. The name of the back-end data type. The zero-based column ordinal. The operation is not valid. The may be positioned after the last row in the result set. Gets the value of the specified column as a object. The value of the specified column. The zero-based column ordinal. The specified cast is not valid. The value is null. The operation is not valid. The may be positioned after the last row in the result set. Gets the value of the specified column as a object. The value of the specified column. The zero-based column ordinal. The specified cast is not valid. The value is null. The operation is not valid. The may be positioned after the last row in the result set. Gets the value of the specified column as a double-precision floating point number. The value of the specified column. The zero-based column ordinal. The specified cast is not valid. The value is null. The operation is not valid. The may be positioned after the last row in the result set. Returns . Gets the that is the data type of the object. The that is the data type of the object. The zero-based column ordinal. The operation is not valid. The may be positioned after the last row in the result set. Gets the value of the specified column as a single-precision floating point number. The value of the specified column. The zero-based column ordinal. The specified cast is not valid. The value is null. The operation is not valid. The may be positioned after the last row in the result set. Gets the value of the specified column as a globally unique identifier (GUID). The value of the specified column. The zero-based column ordinal. The specified cast is not valid. The value is null. The operation is not valid. The may be positioned after the last row in the result set. Gets the value of the specified column as a 16-bit signed integer. The value of the specified column. The zero-based column ordinal. The specified cast is not valid. The value is null. The operation is not valid. The may be positioned after the last row in the result set. Gets the value of the specified column as a 32-bit signed integer. The value of the specified column. The zero-based column ordinal. The specified cast is not valid. The value is null. The operation is not valid. The may be positioned after the last row in the result set. Gets the value of the specified column as a 64-bit signed integer. The value of the specified column. The zero-based column ordinal. The specified cast is not valid. The value is null. The operation is not valid. The may be positioned after the last row in the result set. Gets the name of the specified column. The name of the specified column. The zero-based column ordinal. The operation is not valid. The may be positioned after the last row in the result set. Gets the column ordinal, given the name of the column. The zero-based column ordinal. The name of the column. The name specified is not a valid column name. The operation is not valid. The may be positioned after the last row in the result set. Gets a that is a representation of the underlying provider-specific field type. The object that describes the data type of the specified column. The zero-based column ordinal. Returns a that describes the column metadata of the . A that describes the column metadata. The operation is not valid. The may be positioned after the last row in the result set. Gets the value of the specified column as a . A . The zero-based column ordinal. The operation is not valid. The may be positioned after the last row in the result set. Gets the value of the specified column as a . The value of the column. The zero-based column ordinal. The operation is not valid. The may be positioned after the last row in the result set. Gets the value of the specified column as a . A . The zero-based column ordinal. The operation is not valid. The may be positioned after the last row in the result set. Gets the value of the specified column as a . A . The zero-based column ordinal. The operation is not valid. The may be positioned after the last row in the result set. Gets the value of the specified column as a . A . The zero-based column ordinal. The operation is not valid. The may be positioned after the last row in the result set. Gets the value of the specified column as a . A . The zero-based column ordinal. The operation is not valid. The may be positioned after the last row in the result set. Gets the value of the specified column as a . A . The zero-based column ordinal. The operation is not valid. The may be positioned after the last row in the result set. Gets the value of the specified column as a . A . The zero-based column ordinal. The operation is not valid. The may be positioned after the last row in the result set. Gets the value of the specified column as a . A . The zero-based column ordinal. The operation is not valid. The may be positioned after the last row in the result set. Gets the value of the specified column as a . A . The zero-based column ordinal. The operation is not valid. The may be positioned after the last row in the result set. Gets the value of the specified column as a . A . The zero-based column ordinal. The operation is not valid. The may be positioned after the last row in the result set. Gets the value of the specified column as a . A . The zero-based column ordinal. The operation is not valid. The may be positioned after the last row in the result set. Gets the value of the specified column as a . A . The zero-based column ordinal. The operation is not valid. The may be positioned after the last row in the result set. Gets the value of the specified column as a string. The value of the specified column. The zero-based column ordinal. The specified cast is not valid. The value is null. The operation is not valid. The may be positioned after the last row in the result set. Gets the value of the column at the specified ordinal in its native format. The value to return. The zero-based column ordinal. The operation is not valid. The may be positioned after the last row in the result set. Gets all the attribute columns in the current row. The number of instances of in the array. An array of into which to copy the attribute columns. The operation is not valid. The may be positioned after the last row in the result set. Gets a value that indicates whether the contains one or more rows A value. Returns . Indicates whether the data reader is closed. true if the is closed; otherwise, false. Determines whether the specified matches that of this . true if the behaviors match; otherwise, false. The command behavior. Gets a value indicating whether the column contains nonexistent or missing values. true if the specified column value is equivalent to ; otherwise, false. The zero-based column ordinal. Gets the value of the specified column in its native format given the column ordinal. The value of the specified column in its native format. The column ordinal. Gets the value of the specified column in its native format given the column name. The value of the specified column in its native format. The column name. Not supported in the .NET Compact Framework Data Provider for SQL Server Compact. Returns . Advances to the next record. true if there are more rows; otherwise, false. Gets the number of rows changed, inserted, or deleted by execution of the SQL statement. The number of rows changed, inserted, or deleted; 0 if no rows were affected or the statement failed; and -1 for SELECT statements. Places the on the record with indexed values that match the specified parameters. A Boolean value; true indicates the cursor is positioned on a row. The to use. The index of the record. The value was not found, or another error occurred. Represents the properties, methods, and other objects of the SQL Server Compact Engine object. This class cannot be inherited. Initializes a new instance of the class. Initializes a new instance of the class with the specified local connection string. Reclaims wasted space in the SQL Server Compact database by creating a new database file from the existing file. This method is also used to change the collating order, encryption, or password settings of the database. The connection string to the destination database. Creates a new database. Releases all SQL Server Compact  resources. Gets or sets the connection string to the SQL Server Compact database. The connection string. Repairs a corrupted database. The local connection string to the database. The RepairOption to use when repairing the database. Reclaims wasted space in the SQL Server Compact database by moving empty pages to the end of the file, and then truncating the file. Upgrades a SQL Server Compact database from version 3.1 to 3.5. After the upgrade, the database will be encrypted if the source database was encrypted. If it was not, the upgraded database will be unencrypted. Upgrades a SQL Server Compact database from version 3.1 to 3.5. The destination database will be encrypted if the encryption mode was specified in the Destination Connection string. The collation of the database will be case sensitive if the case-sensitive property is set to true in the connection string. The connection string to the destination database. Recalculates the checksums for each page in the database and compares the new checksums to the expected values. True if the checksums match and there is no database corruption; otherwise, false. Verifies the integrity of the database based on the VerifyOption. True if there is no database corruption; otherwise, false. Determines the level of database verification to use. For information about available option values, see . Collects information relevant to a warning or error returned by the data source. This class cannot be inherited. Gets the last three error parameters. Error parameters are used by SQL Server Compact to provide additional details about an error. A string array that contains the last three error parameters. Returns an HRESULT value that identifies the type of error. The HR number that identifies the type of error. Gets the text describing the error. The text describing the error. Gets the native error number of the . For more information about these errors, see "SQL Server Compact Errors" in the Troubleshooting section of SQL Server Compact Books Online. The native error number of the . Gets the first three error parameters. Error parameters are used by SQL Server Compact to provide additional details about an error. An integer array that contains the first three error parameters. Gets the name of the provider that generated the error. The name of the provider that generated the error. For example, the property may return a string such as "OLE DB Provider for SQL Server Compact." Gets the complete text of the error message. The complete text of the error message. Collects all errors generated by the .NET Compact Framework Data Provider for SQL Server Compact. This class cannot be inherited. Copies the elements of the into an , starting at the given index within the . The into which to copy the elements. The starting index of the . The sum of and the number of elements in the is greater than the of the . The is null. The is not valid for the . Gets the number of objects in the collection. The total number of objects in the collection. Returns an enumerator that can iterate through the . Gets the error at the specified index. A that contains the error at the specified index. The zero-based index of the to retrieve. The exception thrown when the underlying provider returns a warning or error from a SQL Server Compact data source. This class cannot be inherited. Constructor that helps in serialization. The serialization information. The streaming context. Gets a collection of one or more objects that contain detailed information about exceptions generated by the .NET Compact Framework Data Provider for SQL Server Compact. The object that contains the collected instances of the class for the exception. [SECURITY CRITICAL] Populates a with the data required to serialize the object. The serialization information. The streaming context. Gets the HRESULT value of the exception. This value is the same as the value of for the first instance of in the for the exception. The HRESULT value. Gets the text describing the first instance of in the for this exception. The text describing the error. Gets the native error number of the first in the . For more information about the error, see the "SQL Server Compact Errors" topic in the Troubleshooting section of SQL Server Compact Books Online. Returns . Gets the name of the OLE DB provider that generated the error. The name of the OLE DB provider that generated the error. Encapsulates event arguments for the event. The collection of objects that caused the flush to fail. Gets the text describing the that caused the flush to fail. The delegate that must be implemented to listen for events. The source of the event. The that contains the event data. Provides data for the event. This class cannot be inherited. Gets the collection of warnings sent from the data source. The collection of warnings sent from the data source. Gets the complete text of the error sent from the data source. The complete text of the error. Retrieves a string representation of the event. A string representing the event. Represents the method that will handle the event of a . The source of the event. The that contains the event data. The exception thrown when the underlying provider returns an error from a Microsoft SQL Server Compact data source when SQL Server Compact attempts to open a database file of an older or newer version. Constructor that helps in serialization. The serialization information. The streaming context. [SECURITY CRITICAL] Populates a with the data needed to serialize the object. The serialization information. The streaming context. This exception is thrown if the lock timeout has been reached. Constructor that helps in serialization. The serialization information. The streaming context. [SECURITY CRITICAL] Populates a SerializationInfo with the data needed to serialize the object. The serialization information. The streaming context. Represents a parameter to a and, optionally, its mapping to a column. This class cannot be inherited. Initializes a new instance of the class. Initializes a new instance of the class with the parameter name and data type. The name of the parameter to map. One of the values. Initializes a new instance of the class with the parameter name, data type, and length. The name of the parameter to map. One of the values. The length of the parameter. Initializes a new instance of the class with the parameter name, data type, length, and other properties. SQL Server Compact supports only input parameters. The name of the parameter. One of the values. The length of the parameter. true if the value of the field can be null; otherwise, false. The total number of digits to the left and right of the decimal point to which is resolved. The total number of decimal places to which is resolved. The name of the source column. One of the values. An that is the value of the . Initializes a new instance of the class with the parameter name, data type, length, parameter direction, and other properties. SQL Server Compact only supports input parameters. The name of the parameter. One of the values. The length of the parameter. The to use. true if the value of the field can be null; otherwise, false. The total number of digits to the left and right of the decimal point to which is resolved. The total number of decimal places to which is resolved. The name of the source column. One of the values. An that is the value of the . Initializes a new instance of the class with the parameter name, data type, length, and source column name. The name of the parameter to map. One of the values. The length of the parameter. The name of the source column. Initializes a new instance of the class with the parameter name and the value of the new . The name of the parameter to map. The value of the new object. The value supplied for the parameter cannot be converted to a database type supported by SQL Server Compact. Gets or sets the of the parameter. One of the values. The default is . The property was not set to a valid . This property always returns ParameterDirection.Input for .NET Compact Framework Data Provider for SQL Server Compact. Setting this property to a different value causes an to be thrown. This property always returns ParameterDirection.Input for SQL Server Compact Data Provider. Setting this property is not supported. The user attempted to set this property. Gets or sets a value indicating whether or not the parameter accepts null values. true if null values are accepted; otherwise, false. The default is false. Gets or sets the name of the . The name of the . The default is an empty string. Gets or sets the maximum number of digits used to represent the property. The maximum number of digits used to represent the property. The default value is 0. Resets the type associated with this . Gets or sets the number of decimal places to which is resolved. The number of decimal places to which is resolved. The default is 0. Gets or sets the maximum length of the data within the column. The maximum length of the data within the column. The default value is inferred from the parameter value. Gets or sets the name of the source column mapped to the and used for loading or returning the . The name of the source column mapped to the . The default is an empty string. Gets or sets the to use when loading . One of the values. The default is Current. The property was not set to one of the values. Gets or sets the of the parameter. One of the values. The default is NVarChar. Gets a string containing the . A string containing the . Gets or sets the value of the parameter. An that is the value of the parameter. The default value is null. Collects all parameters relevant to a as well as their respective mappings to columns. Adds the specified to the . A reference to the new object. The to add to the collection. Adds a object to the . The index of the new object in the collection. The object to add to the collection. The parameter passed was not a . Adds a to the given the parameter name and data type. A reference to the new object. The name of the parameter. One of the SqlDbType values. Adds a to the given the parameter name, data type, and column width. A reference to the new object. The name of the parameter. One of the SqlDbType values. The width of the column. Adds a to the given the parameter name, data type, column width, and source column name. A reference to the new object. The name of the parameter. One of the SqlDbType values. The width of the column. The name of the source column. Adds a to the given the parameter name and value. A reference to the new object. The name of the parameter. The value of the to add to the collection. The object supplied as the parameter cannot be converted to a string. This can happen if the object is not a primitive type, SqlDbType or byte array. Adds an array of objects to . An array of values of type to add to the collection. Adds a new to the and sets its value. Name of the . Value of the . Removes all items from the collection. Gets a value indicating whether or not a object exists in the collection. true if the collection contains the ; otherwise, false. The value of the object to find. Gets a value indicating whether a with the specified parameter name exists in the collection. true if the collection contains the parameter; otherwise, false. The name of the parameter. Copies objects from the to the specified array. The into which to copy the objects. The starting index of the array. Gets the number of objects in the collection. The number of objects in the collection. Gets the location of the object in the collection. The zero-based location of the in the collection. The object to locate. Gets the location of the in the collection with the specified parameter name. The location of the in the collection. The name of the parameter to find. Inserts a in the collection at the specified index. The zero-based index where the parameter is to be inserted within the collection. The to add to the collection. Gets or sets the at the specified index. The at the specified index. The zero-based index of the parameter to retrieve. The index specified does not exist. Gets or sets the with the specified name. The with the specified name. The name of the parameter to retrieve. The name specified does not exist. Removes the specified from the collection. The object to remove from the collection. The parameter does not exist. The parameter is not a . Removes the at the specified index from the collection. The zero-based index of the parameter to remove. The specified index does not exist. Removes the with the specified name from the collection. The name of the parameter to remove. A parameter with the specified name does not exist in the collection. Represents a set of methods for creating instances of a provider's implementation of the data source classes. Initializes a new instance of the class. Returns a new instance of the provider's class that implements the . A new instance of . Returns a new instance of the provider's class that implements the . A new instance of . Returns a new instance of the provider's class that implements the . A new instance of . Returns a new instance of the provider's class that implements the class. A new instance of the class. Returns a new instance of the provider's class that implements the . A new instance of Returns a new instance of the provider's class that implements the . A new instance of . An instance of . Gets the service type. Returns . The service type. [SECURITY CRITICAL] Initializes a new instance of the object. For more information about Remote Data Access, see Using Remote Data Access (RDA). [SECURITY CRITICAL] Initializes a new instance of the object. [SECURITY CRITICAL] Initializes a new instance of the object and configures it for anonymous access to Microsoft Internet Information Services (IIS). The URL used to connect to the SQL Server Compact Server Agent. The OLE DB connection string for the SQL Server Compact database. [SECURITY CRITICAL] Initializes a new instance of the object and configures it for a Basic or Integrated Windows authentication to Microsoft Internet Information Services (IIS). The URL used to connect to the SQL Server Compact Server Agent. The login name used when connecting to the SQL Server Compact Server Agent. The password used when connecting to the SQL Server Compact Server Agent. The OLE DB connection string for the SQL Server Compact database. [SECURITY CRITICAL] Specifies the amount of compression that will be used by the compression routines during Push and Pull operations. The compression level that has been set. [SECURITY CRITICAL] Enables the object to use the smart device's Connection Manager API to establish a network connection. The connection is released at the end of synchronization. [SECURITY CRITICAL] Specifies how long (in seconds) the SQL Server Compact client will continue to retry sending failed requests. The value, with a default value of 120 seconds. [SECURITY CRITICAL] Gets or sets the amount of time, in milliseconds, that the object waits for a connection to the server. An value that represents the time-out, in milliseconds, with no default. [SECURITY CRITICAL] Releases all unmanaged resources. [SECURITY CRITICAL] Specifies the Microsoft Internet Information Services (IIS) login name used when connecting to the SQL Server Compact Server Agent. The IIS login name used when connecting to the SQL Server Compact Server Agent. The default is no login. [SECURITY CRITICAL] Specifies the Microsoft Internet Information Services (IIS) password used when connecting to the SQL Server Compact Server Agent. The IIS password string used when connecting to the SQL Server Compact Server Agent. The default is no password. [SECURITY CRITICAL] Specifies the login name used when connecting to a proxy server (defined in the property) that requires authentication. The proxy server login name. The default is no login. [SECURITY CRITICAL] Specifies the password used when connecting to a proxy server (defined in the property) that requires authentication. The proxy server password string. The default is no password. [SECURITY CRITICAL] Specifies the proxy server to use when accessing the HTTP resource specified in the property. The proxy server name (or IP address) and the port number () used when accessing the specified HTTP resource. [SECURITY CRITICAL] Specifies the URL used to connect to the SQL Server Compact Server Agent. The SQL Server Compact Server Agent is the Microsoft Internet Information Services (IIS) ISAPI DLL that connects the SQL Server Compact client to the Microsoft SQL Server Database. This property must be specified. The string containing the URL of the SQL Server Compact Server Agent (including its file name, Sqlcesa35.dll). [SECURITY CRITICAL] Specifies the connection string for the SQL Server Compact database. The connection string for the SQL Server Compact database. [SECURITY CRITICAL] Downloads data from a remote SQL Server database and stores that data in a single table in a local SQL Server Compact database. The name of the SQL Server Compact table that will receive the extracted SQL Server records. An error occurs if the table already exists. Any valid Transact-SQL statement—including SELECT statements and stored procedures—that specifies which table, columns, and records to extract from the SQL Server database for storing in the SQL Server Compact database. [SECURITY CRITICAL] Downloads data from a remote SQL Server database and stores that data in a single table in a local SQL Server Compact database. The name of the SQL Server Compact table that will receive the extracted SQL Server records. An error occurs if the table already exists. Any valid Transact-SQL statement—including SELECT statements and stored procedures—that specifies which table, columns, and records to extract from the SQL Server database for storing in the SQL Server Compact database. The option indicating whether SQL Server Compact tracks changes made to the pulled table, and whether the indexes that exist on the table being pulled are brought down to the device with the PRIMARY KEY constraints. [SECURITY CRITICAL] Downloads data from a remote SQL Server database and stores that data in a single table in a local SQL Server Compact database. The name of the SQL Server Compact table that will receive the extracted SQL Server records. An error occurs if the table already exists. Any valid Transact-SQL statement—including SELECT statements and stored procedures—that specifies which table, columns, and records to extract from the SQL Server database for storing in the SQL Server Compact database. The option indicating whether SQL Server Compact tracks changes made to the pulled table, and whether the indexes that exist on the table being pulled are brought down to the device with the PRIMARY KEY constraints. The name of the local error table that is created if an error occurs when the method is later called to send changes back to SQL Server. This option can be specified only when the value is or . [SECURITY CRITICAL] Transmits changes from a pulled tracked table in SQL Server Compact back to the originating SQL Server table. These changes are individually applied to the server in separate transactions. The name of the SQL Server Compact table that will receive the extracted SQL Server records. An error occurs if the table already exists. [SECURITY CRITICAL] Transmits changes from a pulled tracked table in SQL Server Compact back to the SQL Server table. These changes can be either individually applied to the server or batched together in a single transaction. The name of the SQL Server Compact table that will receive the extracted SQL Server records. An error occurs if the table already exists. The option indicates whether the changes being sent back to the SQL Server table should be batched together in a single transaction or individually applied. [SECURITY CRITICAL] Gets or sets the amount of time, in milliseconds, that the object waits for the response to a server request. An value that represents the time-out, in milliseconds, with a default of 60 seconds. [SECURITY CRITICAL] Gets or sets the amount of time, in milliseconds, that the object waits to send a request to the server. An value that represents the time-out, in milliseconds, with no default. [SECURITY CRITICAL] Submits SQL statements for execution on a database in SQL Server on a remote server. Any SQL statement that does not return rows. The OLE DB connection string for the remote SQL Server database. [SECURITY CRITICAL] Initializes a new instance of the object. For more information about SQL Server replication, see the SQL Server Books Online. For more information about merge replication with SQL Server Compact, see the SQL Server Compact Books Online. [SECURITY CRITICAL] Initializes a new instance of the object. This is the default constructor. [SECURITY CRITICAL] Initializes a new instance of the object and sets the required properties for connecting to a publication. The URL used to connect to the SQL Server Compact Server Agent. The login name used when connecting to the SQL Server Compact Server Agent. The password used when connecting to the SQL Server Compact Server Agent. The name of the Publisher. The name of the publication database. The publication name that has been enabled for anonymous merge subscriptions. The name of the Subscriber. The OLE DB connection string for the SQL Server Compact database on the Windows Mobile-based device. [SECURITY CRITICAL] Initializes a new instance of the object and sets the properties for connecting to a publication. The URL used to connect to the SQL Server Compact Server Agent. The login name used when connecting to the SQL Server Compact Server Agent. The password used when connecting to the SQL Server Compact Server Agent. The name of the Publisher. The name of the publication database. The login name used when connecting to the Publisher. The login password used when connecting to the Publisher. The publication name that has been enabled for anonymous merge subscriptions. The name of the Subscriber. The OLE DB connection string for the SQL Server Compact database on the Windows Mobile-based device. [SECURITY CRITICAL] Creates a new anonymous subscription to an existing SQL Server publication. After calling the method, the application must call the method to synchronize the new subscription to the publication based on the latest snapshot. [SECURITY CRITICAL] Starts an asynchronous data synchronization operation. When the synchronization ends, the delegates are called. During the synchronization, synchronization status reports are sent to the SyncStatusReport delegates. The interface for the asynchronous operation that has been started by calling this function. You can use this interface for testing for completion, or waiting until synchronization ends. The delegate that is implemented by the caller called at the end of synchronization. A user-defined delegate to the event that fires at the start of uploading table changes to the server. A user-defined delegate to the event that fires at the start of downloading table changes from the server. A user-defined delegate that consumes the ongoing synchronization events that are reported during the reconciler work. A user-defined object that is returned by the property. [SECURITY CRITICAL] Starts an asynchronous data synchronization operation. When synchronization ends, the delegates are called. During synchronization, no status reporting is performed. The interface for the asynchronous operation that has been started by calling this function. You can use this interface for testing for completion, or waiting until synchronization ends. The delegates that are implemented by the caller and called at the end of synchronization. A user-defined object that is returned by the property. [SECURITY CRITICAL] Cancels an ongoing asynchronous data synchronization that was started by calling the method. [SECURITY CRITICAL] Specifies the amount of compression that will be used by the compression routines during replication. The compression level. [SECURITY CRITICAL] Enables the Replication object to use the smart device's Connection Manager API to establish a network connection. The connection is released at the end of synchronization. true if the Connection Manager settings are used; otherwise, false. [SECURITY CRITICAL] Specifies how long (in seconds) the SQL Server Compact client will continue to retry sending requests after an established connection has failed. The value, with a default value of 120 seconds. [SECURITY CRITICAL] Gets or sets the amount of time, in milliseconds, that the object waits for a connection to the server. An value that represents the time-out, in milliseconds, with no default. [SECURITY CRITICAL] Releases all native resources. [SECURITY CRITICAL] Specifies the SQL Server Distributor. The name of the Distributor used by the Publisher. [SECURITY CRITICAL] Specifies the network address used when the SQL Server Reconciler is connecting to the Distributor. The network address used when connecting to the Distributor. [SECURITY CRITICAL] Specifies the login name used when connecting to the Distributor. The login name used when connecting to the Distributor. [SECURITY CRITICAL] Specifies the network protocol used when the SQL Server Reconciler communicates with the Distributor. The constant used by the SQL Server Reconciler to communicate with the Distributor. [SECURITY CRITICAL] Specifies the login password used when connecting to the Distributor. The password used when connecting to the Distributor. [SECURITY CRITICAL] Specifies the security mode used when connecting to the Distributor. The constant that specifies the mode of security enforced at the Distributor. [SECURITY CRITICAL] Drops the subscription to a SQL Server publication and optionally deletes the SQL Server Compact database from the Windows Mobile-based device. [SECURITY CRITICAL] Ends an asynchronous data synchronization that was started by a call to the method. The interface returned by the method. [SECURITY CRITICAL] Specifies whether the synchronization between the Publisher and the Subscriber is bi-directional or upload only. The constant that specifies whether data merges up to the Publisher only, or in both directions between the Publisher and the Subscriber. [SECURITY CRITICAL] Gets or sets the host name used for the device when connecting to the Publisher. The host name for the device. The default is no host name. [SECURITY CRITICAL] Specifies the login name used when connecting to the SQL Server Compact Server Agent. The Internet Information Services (IIS) login name. The default is no login name. [SECURITY CRITICAL] Specifies the password used when connecting to the SQL Server Compact Server Agent. The Internet Information Services (IIS) password string. The default is no password. [SECURITY CRITICAL] Specifies the login name used when connecting to an that requires authentication. The proxy server login name. The default is no login name. [SECURITY CRITICAL] Specifies the password used when connecting to an that requires authentication. The proxy server password string. The default is no password. [SECURITY CRITICAL] Specifies the proxy server to use when accessing the HTTP resource specified in the property. The proxy server name (or IP address) and optionally the port number, in the following format: : [SECURITY CRITICAL] Specifies the URL used to connect to the SQL Server Compact Server Agent. The URL string. [SECURITY CRITICAL] Retrieves all values stored for the synchronization properties, and then populates the class properties with these saved values. [SECURITY CRITICAL] Specifies the maximum number of seconds to wait for connections to be established. This property affects the connection time between the computer running Internet Information Services (IIS) and the Publisher or Distributor. It does not control the connection time between the smart device and IIS. The number of seconds for connections to be established. The default is 15 seconds. [SECURITY CRITICAL] Gets or sets a value that selectively enables or disables the types of post sync cleanup operations that are performed. A value that specifies which post sync cleanup operations to perform. The Update Statistics operation (UpdateStats) and the Clean by Retention operation (CleanByRetention) can be selectively enabled or disabled. See the Remarks section for details. [SECURITY CRITICAL] Specifies the name of the agent profile at the Distributor to be used by the object. The agent profile name. [SECURITY CRITICAL] Specifies the SQL Server publication name that has been enabled for SQL Server Compact subscribers. The name of the Publication. [SECURITY CRITICAL] Specifies the name of the SQL Server Publisher. The Publisher is the computer that is running SQL Server and that contains the publication. The name of the Publisher. [SECURITY CRITICAL] Specifies the network address used when connecting to the Publisher. The network address used when connecting to the Publisher. [SECURITY CRITICAL] Specifies the total number of Publisher changes applied at the Subscriber when the method was last called. The total number of Publisher rows that were inserted, updated, and deleted. [SECURITY CRITICAL] Specifies the total number of conflicts that occurred at the Publisher when the method was last called. The number of conflicts that occurred. [SECURITY CRITICAL] Specifies the name of the publication database. The name of the publication database. [SECURITY CRITICAL] Specifies the login name used when connecting to the Publisher. The Publisher login name. [SECURITY CRITICAL] Specifies the network protocol used when the SQL Server Replication Provider communicates with the Publisher. The constant that specifies the network protocol used. [SECURITY CRITICAL] Specifies the login password used when connecting to the Publisher. The login password. The default is no password (empty string). [SECURITY CRITICAL] Specifies the security mode used when connecting to the Publisher. The constant that specifies the security mode. [SECURITY CRITICAL] Specifies the number of seconds allowed for internal queries to complete. The number of seconds allowed for internal queries to be returned. The default is 300 seconds. [SECURITY CRITICAL] Gets or sets the amount of time, in milliseconds, that the object waits for the response to a server request. An value that represents the time-out, in milliseconds, with a default of 60 seconds. [SECURITY CRITICAL] Marks a subscription for reinitialization. After calling this method, an application must call the method to download the latest snapshot of the publication to the device. If True, the changes in the subscription database are uploaded to the Publisher before the snapshot is applied at the Subscriber. The default is False. [SECURITY CRITICAL] Retrieves all of the values stored in the class properties for the current subscription and stores them in a system table. [SECURITY CRITICAL] Gets or sets the amount of time, in milliseconds, that the object waits to send a request to the server. An value that represents the time-out, in milliseconds, with no default. [SECURITY CRITICAL] Controls how snapshot files are transferred from the Distributor to the computer running IIS. Snapshot files can be transferred using either the HTTP or the FTP protocol. The value. [SECURITY CRITICAL] Specifies the name of the Subscriber. The Subscriber name. [SECURITY CRITICAL] Specifies the total number of Subscriber changes applied at the Publisher when the method was last called. The total number of Subscriber rows that were inserted, updated, and deleted. [SECURITY CRITICAL] This property is not used by SQL Server Compact. [SECURITY CRITICAL] Specifies the connection string to the SQL Server Compact database. The connection string to the SQL Server Compact database. [SECURITY CRITICAL] Invokes merge replication between the SQL Server Compact subscription and the SQL Server Publisher. [SECURITY CRITICAL] Specifies the type of data validation SQL Server Compact replication performs while synchronizing. The constant that specifies the type of data validation to perform. An updateable, scrollable, and bindable cursor. [SECURITY CRITICAL] Do not use. To create a , you must call the method of the . Creates a new row on the server and returns a object. A SqlCeUpdatableRecord with the metadata of the pre-populated. Deletes the current record from the data source on the server. Returns the value of the column at the specified index as a Boolean value. The value of the column at the specified index. The ordinal position of the column from which to retrieve data. Returns the value of the column at the specified index as a byte. The value of the column at the specified index. The ordinal position of the column from which to retrieve data. Copies a length of bytes into the buffer, starting at a specified position in the specified field. The actual number of bytes copied to the buffer. The ordinal position of the column from which retrieve data. The offset (in bytes) within the field from which to start copying data. The buffer into which to copy the data. The offset within the buffer from which to start the copy. The maximum number of bytes to copy. Copies a length of chars into the buffer, starting at a specified position in the specified field. The actual number of chars copied. The ordinal position of the field from which to retrieve data. The offset (in chars) within the field from which to start copying. The buffer into which to copy the data. The offset within the buffer from which to start the copy. The maximum number of bytes to copy. Returns the value of the column at the specified index as a DateTime. The value of the column at the specified index. The ordinal position of the column from which to retrieve data. Returns the value of the column at the specified index as a Double. The value of the column at the specified index. The ordinal position of the column from which to retrieve data. Returns the value of the column at the specified index as a Double. The value of the column at the specified index. The ordinal position of the column from which to retrieve data. Returns a that can be used to iterate through the rows in the data reader. A . Returns the value of the column at the specified index as a Float. The value of the column at the specified index. The ordinal position of the column from which to retrieve data. Returns the value of the column at the specified index as a GUID. The value of the column at the specified index. The ordinal position of the column from which to retrieve data. Returns the value of the column at the specified index as an Int16. The value of the column at the specified index. The ordinal position of the column from which to retrieve data. Returns the value of the column at the specified index as an Int32. The value of the column at the specified index. TBD Returns the value of the column at the specified index as an Int64. The value of the column at the specified index. The ordinal position of the column from which to retrieve data. Returns an instance of . A object. Returns the value of the column at the specified index as type SqlBinary. The value of the column at the specified index. The ordinal position of the column from which to retrieve data. Returns the value of the column at the specified index as type SqlBoolean. The value of the column at the specified index. The ordinal position of the column from which to retrieve data. Returns the value of the column at the specified index as type SqlByte. The value of the column at the specified index. The ordinal position of the column from which to retrieve data. Returns the value of the column at the specified index as type SqlDateTime. The value of the column at the specified index. The ordinal position of the column from which to retrieve data. Returns the value of the column at the specified index as type SqlDecimal. The value of the column at the specified index. The ordinal position of the column from which to retrieve data. Returns the value of the column at the specified index as type SqlDouble. The value of the column at the specified index. The ordinal position of the column from which to retrieve data. Returns the value of the column at the specified index as type SqlGuid. The value of the column at the specified index. The ordinal position of the column from which to retrieve data. Returns the value of the column at the specified index as type SqlInt16. The value of the column at the specified index. The ordinal position of the column from which to retrieve data. Returns the value of the column at the specified index as type SqlInt32. The value of the column at the specified index. The ordinal position of the column from which to retrieve data. Returns the value of the column at the specified index as type SqlInt64. The value of the column at the specified index. The ordinal position of the column from which to retrieve data. Returns the metadata information associated with the specified column. The metadata of the column at the specified index. The ordinal position of the column from which to retrieve data. Returns the value of the column at the specified index as type SqlMoney. The value of the column at the specified index. The ordinal position of the column from which to retrieve data. Returns the value of the column at the specified index as type SqlSingle. The value of the column at the specified index. The ordinal position of the column from which to retrieve data. Returns the value of the column at the specified index as type SqlString. The value of the column at the specified index. The ordinal position of the column from which to retrieve data. Returns the value of the column at the specified index as type String. The value of the column at the specified index. The ordinal position of the column from which to retrieve data. Returns the value of the specified field. The object that contains the value of the specified field. The ordinal position of the column from which to retrieve the value. Retrieves an array of all of the fields for the specified record. The number of instances in the array. The array of type Object in which to store the values as they are returned. Inserts the specified into the underlying rowset. The record to insert. Inserts the specified into the underlying rowset and specifies how the cursor is positioned. The record to insert. The option to specify how the cursor is positioned after the insert. Determines if the field at the specified ordinal position is null. True if the specified field is null; otherwise, false. The ordinal position of the column from which to retrieve the value. Determines if the field at the specified ordinal position is marked to use the underlying default value. True if the specified field is marked to use the underlying default value; otherwise, false. The ordinal position of the column from which to retrieve the value. Serves as an indexer for the . The record at the specified index. The position of the item in the ResultSet. Serves as an indexer for the . The record that matches the specified name. The name of the record in the ResultSet. Moves the reader to a specific record in the ResultSet. True if the operation succeeded; otherwise, false. The position to which to move the reader. Positions the reader at the first record in the ResultSet. True if the operation succeeded; otherwise, false. Positions the reader at the last record in the ResultSet. True if the operation succeeded; otherwise, false. Positions the reader at the record pervious to the current record. True if the operation succeeded; otherwise, false. Moves the reader the specified amount from the current position. True if the operation succeeded; otherwise, false. The number of positions to move the reader. Used when data binding a to a control. A . Determines whether the is scrollable. True if the is scrollable; otherwise, false. Determines the sensitivity of the . The for the . Sets the value of the specified column to the passed-in Boolean value. The ordinal position of the column to set. The value to assign to the specified column. Sets the value of the specified column to the passed-in Byte value. The ordinal position of the column to set. The value to assign to the specified column. Copies a length of bytes from the specified buffer to the specified column, starting at the specified location within that field. The ordinal position of the column to set. The location within the column to which to begin copying the data. The buffer that contains the data to copy. The offset within the buffer from which to copy the data. The maximum number of bytes to copy. Sets the value of the specified column to the passed-in Char value. The ordinal position of the column to set. The value to assign to the specified column. Copies a length of chars from the specified buffer to the specified column, starting at the specified location within that field. The ordinal position of the column to set. The location within the column to which to begin copying the data. The buffer that contains the data to copy. The offset within the buffer from which to copy the data. The maximum number of bytes to copy. Sets the value of the specified column to the passed-in DateTime value. The ordinal position of the column to set. The value to assign to the specified column. Sets the value of the specified column to the passed-in Decimal value. The ordinal position of the column to set. The value to assign to the specified column. Sets the specified column to its default value. The ordinal position of the column to set. Sets the value of the specified column to the passed-in Double value. The ordinal position of the column to set. The value to assign to the specified column. Sets the value of the specified column to the passed-in Float value. The ordinal position of the column to set. The value to assign to the specified column. Sets the value of the specified column to the passed-in Guid value. The ordinal position of the column to set. The value to assign to the specified column. Sets the value of the specified column to the passed-in Int16 value. The ordinal position of the column to set. The value to assign to the specified column. Sets the value of the specified column to the passed-in Int32 value. The ordinal position of the column to set. The value to assign to the specified column. Sets the value of the specified column to the passed-in Int64 value. The ordinal position of the column to set. The value to assign to the specified column. Binds an object to the column at the specified position. The ordinal position of the column to set. The value to assign to the specified column. Sets the value of the specified column to the passed-in SqlBinary value. The ordinal position of the column to set. The value to assign to the specified column. Sets the value of the specified column to the passed-in SqlBoolean value. The ordinal position of the column to set. The value to assign to the specified column. Sets the value of the specified column to the passed-in SqlByte value. The ordinal position of the column to set. The value to assign to the specified column. Sets the value of the specified column to the passed-in SqlDateTime value. The ordinal position of the column to set. The value to assign to the specified column. Sets the value of the specified column to the passed-in SqlDecimal value. The ordinal position of the column to set. The value to assign to the specified column. Sets the value of the specified column to the passed-in SqlDouble value. The ordinal position of the column to set. The value to assign to the specified column. Sets the value of the specified column to the passed-in SqlGuid value. The ordinal position of the column to set. The value to assign to the specified column. Sets the value of the specified column to the passed-in SqlInt16 value. The ordinal position of the column to set. The value to assign to the specified column. Sets the value of the specified column to the passed-in SqlInt32 value. The ordinal position of the column to set. The value to assign to the specified column. Sets the value of the specified column to the passed-in SqlInt64 value. The ordinal position of the column to set. The value to assign to the specified column. Sets the value of the specified column to the passed-in SqlMoney value. The ordinal position of the column to set. The value to assign to the specified column. Sets the value of the specified column to the passed-in SqlSingle value. The ordinal position of the column to set. The value to assign to the specified column. Sets the value of the specified column to the passed-in SqlString value. The ordinal position of the column to set. The value to assign to the specified column. Sets the value of the specified column to the passed-in String value. The ordinal position of the column to set. The value to assign to the specified column. Sets the value of the specified column to the passed-in value. The ordinal position of the column to set. The value to assign to the specified column. Sets each of the fields in the specified record to the corresponding value in the specified array. The number of values copied from the array. The array that contains the values to set. Determines whether values within the can be modified. True if the values in the record can be modified; otherwise, false; Sends changes from the current record to the underlying row on the server. Provides data for the event. Initializes a new instance of the class. The sent through an . The executed when is called. One of the values that specifies the type of query executed. The sent through an . Gets the executed when is called. The executed when is called. Represents the method that will handle the event of a . The source of the event. The that contains the event data. Provides data for the event. Initializes a new instance of the class. The to . The to execute during . One of the values that specifies the type of query executed. The sent through an . Gets or sets the to execute when performing an . The to execute when performing the . Represents the method that handles the event of a . The source of the event. The that contains the event data. Represents an SQL transaction to be made at a data source. This class cannot be inherited. Commits the database transaction. An error occurred while trying to commit the transaction. The transaction has already been committed or rolled back.-or- The connection is broken. Commits the database transaction using the specified . An error occurred while trying to commit the transaction. The transaction has already been committed or rolled back.-or- The connection is broken. Gets the begin sequence number (BSN) for the transaction. The BSN for the transaction. Releases all objects associated with the transaction. Specifies the for this transaction. The for this transaction. The .NET Compact Framework Data Provider for SQL Server Compact supports the ReadCommitted, Serializable, and ReadRepeatable isolation levels. Rolls back a transaction from a pending state. An error occurred while trying to commit the transaction. The transaction has already been committed or rolled back.-or- The connection is broken. Gets or sets application-specific context information that is associated by the transaction with tracked operations on a SQL Server Compact database table. A value that represents application-specific information. The exception thrown when the underlying provider returns an error from a Microsoft SQL Server Compact data source when an operation is attempted while a transaction is in progress. Constructor that helps in serialization. The serialization information. The streaming context. [SECURITY CRITICAL] Populates a SerializationInfo with the data needed to serialize the object. The serialization information. The streaming context. Represents a row of updatable values from the data source. A object contains one or more UpdatableRecords. Returns the number of fields in the specified record. The number of fields in the record. Returns the value of the specified field as bool. The field from which to retrieve a value. Returns the value of the specified field as byte. The field from which to retrieve a value. Copies a length of bytes into the buffer, starting at a specified position in the specified field. The ordinal position of the column from which to retrieve data. The offset (in bytes) within the field from which to start copying data. The buffer into which to copy the data. The offset within the buffer from which to start the copy. The maximum number of bytes to copy. Returns the value of the specified field as char. The field from which to retrieve a value. Copies a length of chars into the buffer, starting at a specified position in the specified field. The ordinal position of the field from which to retrieve data. The offset (in chars) within the field from which to start copying. The buffer into which to copy the data. The offset within the buffer from which to start the copy. The maximum number of bytes to copy. Returns a positioned on the current record. The field from which to retrieve a value. Returns the datatype name for the specified field. The field from which to retrieve a value. Returns the value of the specified field as DateTime. The field from which to retrieve a value. Returns the value of the specified field as decimal. The field from which to retrieve a value. Returns the value of the specified field as double. The field from which to retrieve a value. Returns the CLR datatype for the specified field. The CLR datatype for the field. The field from which to retrieve a value. Returns the value of the specified field as float. The field from which to retrieve a value. Returns the value of the specified field as a GUID. The field from which to retrieve a value. Returns the value of the specified field as int16. The field from which to retrieve a value. Returns the value of the specified field as int32. The field from which to retrieve a value. Returns the value of the specified field as int64. The field from which to retrieve a value. Returns the name of the specified field. The field from which to retrieve a value. Returns the ordinal for the field specified in the passed-in name. The name of the field from which to determine the ordinal. Returns the value of the specified field as SqlBinary. The field from which to retrieve a value. Returns the value of the specified field as SqlBoolean. The field from which to retrieve a value. Returns the value of the specified field as SqlByte. The field from which to retrieve a value. Returns a reference to the SqlBytes instance that contains the value of the specified field. A reference to a SqlBytes instance. The field from which to retrieve a value. Returns a reference to the SqlChars instance that contains the value of the specified field. A reference to a SqlChars instance. The field from which to retrieve a value. Returns the value of the specified field as SqlDateTime. The field from which to retrieve a value. Returns the value of the specified field as SqlDecimal. The field from which to retrieve a value. Returns the value of the specified field as SqlDouble. The field from which to retrieve a value. Returns the value of the specified field as SqlGuid. The field from which to retrieve a value. Returns the value of the specified field as SqlInt16. The field from which to retrieve a value. Returns the value of the specified field as SqlInt32. The field from which to retrieve a value. Returns the value of the specified field as SqlInt64. The field from which to retrieve a value. Returns the value of the specified field as SqlMetaData. The field from which to retrieve a value. Returns the value of the specified field as SqlMoney. The field from which to retrieve a value. Returns the value of the specified field as SqlSingle. The field from which to retrieve a value. Returns the value of the specified field as SqlString. The field from which to retrieve a value. Returns the value of the specified field as string. The field from which to retrieve a value. Returns the value of the specified record. The field from which to retrieve a value. Returns the values for all of the fields in a record. The array in which to store the returned values. Returns the number of hidden fields in the record. In SQL Server Compact, this property always returns 0. Always returns a value of 0. Determines if the specified field is NULL. True if the field is NULL; otherwise, false. The field to check. Determines if the specified field is marked to use the underlying default value. True if the field is marked to use the default value; otherwise, false. The field to check. Serves as an indexer to a specific field within the record. The ordinal of the field (column) within the record. Serves as an indexer to a specific field within the record. The name of the field (column) in the record. Sets the column at the specified index to the passed-in bool value. The field in which to set the value. The value to set. Sets the column at the specified index to the passed-in byte value. The field in which to set the value. The value to set. Copies a length of bytes from the specified buffer to the specified column, starting at the specified location within that field. The ordinal position of the column to set. The location within the column to which to begin copying the data. The buffer that contains the data to copy. The offset within the buffer from which to copy the data. The maximum number of bytes to copy. Sets the column at the specified index to the passed-in char value. The field in which to set the value. The value to set. Copies a length of chars from the specified buffer to the specified field, starting at the specified location within that field. The ordinal position of the column to set. The location within the column to which to begin copying the data. The buffer that contains the data to copy. The offset within the buffer from which to copy the data. The maximum number of bytes to copy. Sets the column at the specified index to the passed-in DateTime value. The field in which to set the value. The value to set. Sets the column at the specified index to the passed-in decimal value. The field in which to set the value. The value to set. Sets the default value for the specified field. The field to set. Sets the column at the specified index to the passed-in double value. The field in which to set the value. The value to set. Sets the column at the specified index to the passed-in float value. The field in which to set the value. The value to set. Sets the column at the specified index to the passed-in GUID value. The field in which to set the value. The value to set. Sets the column at the specified index to the passed-in int16 value. The field in which to set the value. The value to set. Sets the column at the specified index to the passed-in int32 value. The field in which to set the value. The value to set. Sets the column at the specified index to the passed-in int64 value. The field in which to set the value. The value to set. Sets the value of the specified field by reference rather than by-value. The field in which to set the value. The value to set. Sets the column at the specified index to the passed-in SqlBinary value. The field in which to set the value. The value to set. Sets the column at the specified index to the passed-in SqlBool value. The field in which to set the value. The value to set. Sets the column at the specified index to the passed-in SqlByte value. The field in which to set the value. The value to set. Sets the column at the specified index to the passed-in SqlDateTime value. The field in which to set the value. The value to set. Sets the column at the specified index to the passed-in SqlDecimal value. The field in which to set the value. The value to set. Sets the column at the specified index to the passed-in SqlDouble value. The field in which to set the value. The value to set. Sets the column at the specified index to the passed-in SqlGuid value. The field in which to set the value. The value to set. Sets the column at the specified index to the passed-in SqlInt16 value. The field in which to set the value. The value to set. Sets the column at the specified index to the passed-in SqlInt32 value. The field in which to set the value. The value to set. Sets the column at the specified index to the passed-in SqlInt64 value. The field in which to set the value. The value to set. Sets the column at the specified index to the passed-in SqlMoney value. The field in which to set the value. The value to set. Sets the column at the specified index to the passed-in SqlSingle value. The field in which to set the value. The value to set. Sets the column at the specified index to the passed-in SqlString value. The field in which to set the value. The value to set. Sets the column at the specified index to the passed-in string value. The field in which to set the value. The value to set. Sets the column at the specified index to the passed-in value. The field in which to set the value. The value to set. Sets each of the fields in the record to the corresponding value in the passed-in array. The values to set, in the order in which the fields appear in the record. Specifies whether the field is updatable. True if the field is updatable; otherwise, false. Specifies and retrieves metadata information from parameters and columns retrieved from a database. This class cannot be inherited. Specifies the type of key used to identify tracking data. This value is reserved for use by the tracking infrastructure. Do not use it in your code. Uniquely identifies rows by using the primary key defined on the table. Uniquely identifies rows by using the global unique identifier column defined on the table. This is a column of uniqueidentifier data type that is defined with the ROWGUIDCOL attribute. This value is reserved for use by the tracking infrastructure. Do not use it in your code. Specifies which operations on a table are tracked. This value is reserved for use by the tracking infrastructure. Do not use it in your code. Track only inserts. Track only updates. Track only deletes. Track all operations. This value is reserved for use by the tracking infrastructure. Do not use it in your code. Specifies the type of data validation to perform. Specifies that validation will not be performed. This is the default setting. Specifies that a row count comparison will be performed on the published data. These options determine the level of database verification to use. Recalculates the checksums for each page in the database and compares the new checksums to the expected values. Performs the same checks as the Default option and verifies index integrity. Checks that each index entry exists in the table and that each table entry exists in the index. This option is slower and more thorough than the Default option.